• Resolved cag8f

    (@cag8f)


    Hello. I’m having the same problem I did yesterday (previous post), in which a Hummingbird cached page continues to load, even after clearing the cache. This time, I am in an incognito window and I have carried out an ‘Empty cache and hard reload’ many times. But the Hummingbird comment at the bottom is still there:

    <!– Hummingbird cache file was created in 4.0579841136932 seconds, on 06-01-19 13:09:39 –>

    Any ideas how to resolve this?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @cag8f,

    If clearing the browser cache doesn’t help, you probably have caching enabled on your host. What host are you on?

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    name.com shared hosing.

    @cag8f,

    Can you please check that define(‘WP_CACHE’, true); is not set in wp-config.php

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    It is indeed set in wp-config. The full line is:

    define('WP_CACHE', true); // Added by WP Hummingbird

    • This reply was modified 6 years, 1 month ago by cag8f.

    If you remove it, the caching will stop. Hummingbird will try to auto remove it, but sometimes it can fail.

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    OK. So if I comment out the line, the caching should stop? And after I make my changes, I assume I should re-add the line?

    If your goal is to add some changes, you don’t need to remove the line – just make the changes and Hummingbird should be able to auto clear the cache for the page/post. Or there’s a Clear cache button in Hummingbird that can be used to clear all cache.

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    >> If your goal is to add some changes, you don’t need to remove the line – just make the changes and Hummingbird should be able to auto clear the cache for the page/post.

    OK. Maybe I didn’t make myself clear, but this is indeed what I’m trying to do. I’ve made a change to one of my files (functions.php) and the change isn’t registering–the cached page continues to load. Why is that occurring? Are you saying this could be due to server side caching by my web host?

    >> Or there’s a Clear cache button in Hummingbird that can be used to clear all cache.

    OK thanks. Can you direct me to that? I had a quick look earlier but couldn’t find anything.

    @cag8f,

    Oh, Hummingbird will only detect changes to post/pages, if you make changes to some files directly, you should clear the cache by clicking “Clear cache” button, that can be found in Hummingbird – Caching – Page Caching module.

    You can also configure Hummingbird to show you a clear cache button on the top admin bar. This can be done in Hummingbird – Caching – Settings (Show Clear Cache button in Admin area)

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    OK I think we need to back up for a moment. As I mentioned in my post from yesterday, the ‘Page Caching’ module in Hummingbird is disabled, and has been disabled throughout this entire exercise. Only the ‘Browser Caching’ module is activated. So why is this caching occurring?

    The define('WP_CACHE', true); in your wp-config.php is telling WordPress that caching should be active. And WordPress is then looking for a file wp-content/advanced-cache.php, which directs the caching calls to a plugin. My guess, is that something happened during Page Cache deactivation, and both the define and the advanced-cache.php file were left intact, therefore, even though you are seeing that Hummingbird’s Page Caching module is disabled, the caching is still working. You have two options – you can either enable Page Caching from Hummingbird and be able to control it via the Clear Cache button (as I described above), or you can remove the define to disable Page Caching completely (also described above). I hope that makes sense ??

    Best regards,
    Anton

    Thread Starter cag8f

    (@cag8f)

    >> My guess, is that something happened during Page Cache deactivation, and both the define and the advanced-cache.php file were left intact,

    OK thanks for that clarification. That was my biggest source of confusion–why page caching was occurring when the module was disabled. I’ve re-enabled it, and things look OK for now. I’ll continue to monitor it. If a new issues arises, I’ll open a new ticket.

    We can consider this resolved, thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Cached page loading even after browser cache cleared’ is closed to new replies.