• Resolved Ronaldt

    (@neejoh)


    Hi, on the website of a client of us we have installed Hummingbird. We’ve enabled the page caching in the options and we actually see the cached pages being created in the wp-content/wphb-cache/cache/[domain]/ folder on disk.

    But somehow these get deleted all of the time, often within the hour.
    We can’t figure out what is causing this. Is there a way to debug what triggers the removal of these cached pages?

    We checked:
    – It is not done manually by one of the admin users (not by purging cache and not by updating pages)
    – It is not triggered by MainWP (our external tool to update clients websites) since we do not have hourly updates for this website (lucky us ??)
    – There are no active cron-jobs for this website

    Could it be that these local page caches are removed because we’ve activated Cloudflare? I can’t find it documented anywhere.

    Thanks,
    Ronald

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @neejoh !

    Hope you’re having a good day and apologies for the inconvenience caused by the caching!

    It’s very odd indeed, I’m actually not sure whether it’s CloudFlare causing it (it shouldn’t).

    There are some options in Hummingbird that can help in this case:

    – enabling debug log in Hummingbird >> Caching >> Page Caching
    – if you’re also using Asset Optimisation, there’s a debug log option for it as well in Hummingbird >> Asset Optimisation >> Settings

    You don’t need to add any defines to wp-config in this case.

    Once enabled, please let the caching run for a bit to catch the issues.

    After that you can share the logs with us. There are two options:

    1. Our secure contact form:

    https://premium.wpmudev.org/contact/#i-have-a-different-question and the template below:

    NOTE: Don’t change selected topic in the dropdown, just leave it at “I have a different question”.

    Subject: “Attn: Pawel
    – logs as attachments
    – Link back to this thread for reference

    2. You can also upload the logs to Google Drive, Dropbox or similar service and share a link here. You can remove any sensitive info in this case if needed. Then please share a link to those here.

    Kind regards,
    Pawel

    Thread Starter Ronaldt

    (@neejoh)

    Thanks @wpmudev-support9

    I’ve set up the debug logs just now and will wait a bit until that populates a bit. I expect to use the contact form in a couple of hours and send them along.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @neejoh

    Had you found any relevant information in the debug log?

    “. I expect to use the contact form in a couple of hours and send them along.”

    We got similar cases for Instagram plugin and Cookie plugin, it triggers the clear cache functions, you can download your plugins to a local computer, use the visual studio code or any other software to search in files and look for “wp_cache_delete” or “wphb_clear_page_cache” keywords.

    https://stackoverflow.com/questions/25310572/how-to-actually-search-all-files-in-visual-studio

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Thread Starter Ronaldt

    (@neejoh)

    Hi @wpmudevsupport12

    I’ve been in contact with @wpmudev-support9 last week, got to try out a beta of the next release but that didn’t help unfortunately.

    There are a couple plugins that call that wp_cache_delete hook. Here’s a list of all the plugins (search in /wp-content/):
    https://res.cloudinary.com/comsi-rtv/raw/upload/v1632122462/wpmudev/grep-clear-cache.txt

    Please note that the MainWP plugin (external maintenance plugin we use to manage all our client website themes/plugins) calls it too, but we’ve been very careful to not trigger an update via MainWP on this website.

    Cheers,
    Ronald

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @neejoh

    Thank you for the information,

    We will follow this from the email.

    Best Regards
    Patrick Freitas

    Hello @neejoh !

    As we’re waiting for a fix to be included in the plugin, I’ll mark this ticket as resolved for now. Of course if after an update the issue is still there, please feel free to let us know and reopen the ticket.

    Kind regards,
    Pawel

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page cache keeps getting cleared’ is closed to new replies.