• Resolved laserstore

    (@laserstore)


    Hi!
    If I make any changes to the site, regardless of what they are, after clearing the page cache and the cloudflare cache, it is not updated in the client’s browser. This only happens if you update by pressing F5. The problem is that visitors who already have their cache stored can’t see updates if they don’t refresh their browser.
    When the cache is cleared, this change should become immediate, even for visitors who already have the cache.
    I’ve already enabled the Clear full cache when post/page is updated option and even if I activate a plugin that changes the design, nothing is updated if I don’t press F5.
    Looking at the browser header, the information hummingbird-cache: Served appears even after changing the theme completely, the person who has already visited the site finds the old theme.
    I installed a plugin called “prevent browser cache” to try to force clean the browser, but that didn’t happen.
    Is there anything I can do to make this cache clear? I use NGINX + Apache + Plesk
    Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @laserstore

    I hope you are doing good today.

    Clearing caches don’t “automatically” reload pages in visitors’ browsers. even if you clear all, visitors who are already on site will need to reload the page and that’s completely normal.

    Could you share a link to the plugin you use called “prevent browser cache” to see what this plugin does in real?

    Kind Regards,
    Kris

    Thread Starter laserstore

    (@laserstore)

    hi! @wpmudevsupport13 thank you for your response.
    The link of the plugin is here:
    https://www.ads-software.com/plugins/prevent-browser-caching/
    HG is very fast, an excellent caching system. but see, I tested other cache plugins and when I clear the cache and click on any link on the page, it reloads a new cache version, on HB it doesn’t. This mentioned plugin changes the version of the files to force a new request from the browsers. Anyway,
    if a big refresh is made to the site and the client doesn’t refresh his browser he won’t see it until the cache expires as I understand it. As I said above, not even changing an entire theme did he update the page. It’s strange because most visitors don’t refresh pages normally. This is the point I don’t understand. Using the “prevent browser cache” plugin seems to work as long as it is active before caching.
    Thanks!

    • This reply was modified 2 years, 4 months ago by laserstore.

    Hello @laserstore !

    When using Hummingbird’s Asset Optimisation it will automatically detect changes in files and will generate a new random name/hash for the file, which is similar to what the mentioned plugin does and works in the same way to cause the browser to download the new file.

    This may sometimes not be triggered as it relies on the mechanisms built into WordPress – for example, if using a page builder which doesn’t trigger standard events when saving/updating, there’s no way to detect the changes automatically (running this in the background is not feasible on most hosts).

    However, please check in Hummingbird >> Caching >> Settings if you have File Change Detection enabled and set to Automatic.

    Please also check if clearing the cache in Hummingbird >> Asset Optimisation section helps here.

    Best regards,
    Pawel

    Thread Starter laserstore

    (@laserstore)

    @wpmudev-support9 thank you very much! In addition to the excellent support, you have the best plugins.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Browser Cache not cleaned’ is closed to new replies.