• Resolved C Green

    (@cgreen177)


    Hi there

    I really want to get the hummingbird page caching working, but periodically (maybe every 3 or 4 hours, sometimes more quickly) I see that a previously cached page disappears and needs to be refreshed. I’m not making any changes to the site (which is fairly static).

    I do have cloudlfare (free account) and have this morning set up a bypass cache rule on there in case that was interfering

    A sample from the debug logs showing pages being brought into the cache – I had previously browsed them about half an hour previously and the hummingbird cache was served (NB This is from an incognito chrome window so should be be invoking the ‘do not cache admin pages’ rule)

    
    [11:19:48] Request passed should_cache_request check. Ready to cache.
    [11:19:48] Caching to file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/faqs/07f45d309ed5b68677b49bb0a99b4c9e.html
    [11:19:48] Loading config file.
    [11:19:48] Request passed should_cache_request check. Ready to cache.
    [11:19:48] Caching to file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/faqs/07f45d309ed5b68677b49bb0a99b4c9e.html
    [11:19:48] Cached file not found. Passing to ob_start.
    [11:19:48] Saving page to cache file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/faqs/07f45d309ed5b68677b49bb0a99b4c9e.html
    [11:19:49] Loading config file.
    [11:19:49] Page not cached because of active cron or ajax request.
    [11:20:10] Loading config file.
    [11:20:10] Do not cache admin pages.
    [11:20:10] Loading config file.
    [11:20:10] Page not cached because of active cron or ajax request.
    [11:20:10] Loading config file.
    [11:20:10] Page not cached because of active cron or ajax request.
    [11:20:13] Loading config file.
    [11:20:13] Page not cached because of active cron or ajax request.
    [11:21:13] Loading config file.
    [11:21:13] Page not cached because of active cron or ajax request.
    [11:21:13] Loading config file.
    [11:21:13] Page not cached because of active cron or ajax request.
    [11:21:13] Loading config file.
    [11:21:13] Page not cached because of active cron or ajax request.
    [11:21:43] Loading config file.
    [11:21:43] Request passed should_cache_request check. Ready to cache.
    [11:21:43] Caching to file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/faqs/07f45d309ed5b68677b49bb0a99b4c9e.html
    [11:21:43] Cached file found. Serving to user.
    [11:21:44] Loading config file.
    [11:21:44] Page not cached because of active cron or ajax request.
    [11:21:55] Loading config file.
    [11:21:55] Request passed should_cache_request check. Ready to cache.
    [11:21:55] Caching to file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/customer-testimonials/a1d6d2c04f77388e392f75c6820fb69a.html
    [11:21:55] Loading config file.
    [11:21:55] Request passed should_cache_request check. Ready to cache.
    [11:21:55] Caching to file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/customer-testimonials/a1d6d2c04f77388e392f75c6820fb69a.html
    [11:21:55] Cached file not found. Passing to ob_start.
    [11:21:56] Saving page to cache file: /home/greystokegeekco/public_html/wp-content/wphb-cache/cache/www.greystokegeek.co.uk/customer-testimonials/a1d6d2c04f77388e392f75c6820fb69a.html
    [11:21:57] Loading config file.
    [11:21:57] Page not cached because of active cron or ajax request.
    [11:22:13] Loading config file.
    [11:22:13] Page not cached because of active cron or ajax request.
    [11:22:13] Loading config file.
    [11:22:13] Page not cached because of active cron or ajax request.
    [11:22:13] Loading config file.
    [11:22:13] Page not cached because of active cron or ajax request.
    [11:22:18] Loading config file.
    [11:22:18] Do not cache admin pages.
    [11:22:18] Loading config file.
    [11:22:18] Do not cache admin pages.

    Any ideas why this might happen?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter C Green

    (@cgreen177)

    Can I also ask what does the ‘page not cached because of active cron or ajax request’ mean? And what impact is that having on the page cache?

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @cgreen177

    Could you please let me know which options from Page Caching you’ve already enabled?

    Can I also ask what does the ‘page not cached because of active cron or ajax request’ mean? And what impact is that having on the page cache?

    The message is pretty straight-forward and means that the caching of a page wasn’t made cause that page triggered either a cron job or an ajax request.

    Warm regards,
    Dimitris

    Thread Starter C Green

    (@cgreen177)

    Hi Dimitris

    Page caching options – on for all page types, preload caching on, clear cache on interval off. No integrations switched on (although I do have opcache on in PHP so maybe that should be on?) Settings – debug log is on, mobile devices is on, and clear cache on comment is on.

    Exclusions – just the defualt: wp-.*\.php
    index\.php
    xmlrpc\.php
    sitemap.xml

    User Agents: bot
    is_archive
    slurp
    crawl
    spider
    Yandex

    Cookies: wp_woocommerce_session_

    Could it be the admin ajax heartbeat that is interfering with the cache if I have wp-admin console opened in a different browser?

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @cgreen177,

    Can you tell us if you’re experiencing the caching issue on all of your pages or only Testimonials page?

    Testimonials page has a form at the bottom that is most likely excluding/disabling this page from caching.
    This is usually the case because forms can have issues with submission or wrong data provided when the page they are on is cached.

    Can you try disabling your form plugin temporarily and see if the caching is working properly after that?

    Cheers,
    Predrag

    Thread Starter C Green

    (@cgreen177)

    Thanks Predrag I will try over the next few days on a sandbox and let you know. I definitely think that the wp-admin console may be a factor as it’s been better (not perfect) when I’ve not been logged into there

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @cgreen177

    It’s been a while since we’ve heard back from you so I’m going to mark this topic as resolved. You can still post back any updates and we can continue. ??

    Take care,
    Dimitris

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hummingbird Cache being cleared’ is closed to new replies.