Support » Plugin: Force Refresh » Disable force refresh on specific pages

  • Resolved georgeemp

    (@georgeemp)


    Hi,

    Can you add an on-off button on pages so that when you use the refresh whole site, the pages that have the button turned to off are not refreshed?

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • And another question: is there a way to refresh just the home page?
    I mean to refresh the browser just for the visitors that are on the home page, not for the rest of visitors that are on other pages in site.

    Thanks again

    Plugin Author jordanleven

    (@jordanleven)

    Georgeemp,

    Thanks for reaching out! Regarding your first question, no – there’s no existing feature to opt-out specific pages from a force refresh when refreshing the entire site. Although it’s not currently a supported feature, it could be added in the future if there are enough use cases to support it.

    Regarding your second question, it is supported to be able to refresh a specific page. Each page has its own Force Refresh controls under the meta box. See the followings screenshot for details.

    @jordanleven

    Hi,
    It doesn’t work on home page.
    I have a website where I select page X to be the home page.
    From admin bar or from pages I open the page for edit and after that I save the changes.
    After the save I press the “Refresh home” button, but nothing happens in browsers where the home page is open.

    Thank you

    Plugin Author jordanleven

    (@jordanleven)

    @georgeemp,

    In order to debug further, please send along the following:

    1. Your current version of WordPress.
    2. The installed version of Force Refresh.
    3. The URL of the page you’re attempting to refresh.

    @jordanleven

    1. WP 5.0.1
    2. Version 2.1.6
    3. https://cnped.ro/2020/

    Thank you

    Plugin Author jordanleven

    (@jordanleven)

    @georgeemp,

    It looks like your server is experiencing 500 errors on the admin ajax hook. Can you look at your server logs and see if you find anything related to Force Refresh?

    The easiest way is to visit the following URL, note the time, and find the server log for that time.
    https://cnped.ro/2020/wp-admin/admin-ajax.php?action=force_refresh_get_version

    Plugin Author jordanleven

    (@jordanleven)

    Clarification – you’ll need a nonce generated by WordPress (force refreshes are secured behind them) so instead of visiting the endpoint directly, you can just visit https://cnped.ro/2020.

    Plugin Author jordanleven

    (@jordanleven)

    @georgeemp,

    Circling back on this, were you able to check the server logs for any errors relating to using Force Refresh?

    Plugin Author jordanleven

    (@jordanleven)

    @georgeemp,

    Since I still haven’t heard back on this, I’m going to close out this support request. If you still require assistance on this, feel free to reply to this thread.

    Hi,

    It’s ok. I have to dig a little.
    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.