• Resolved eitanc

    (@eitanc)


    Hi,
    I use the latest Hummingbird and WP versions and I have integrated the plugin with Cloudflare.
    I understood that clearing the cache using the plugin option from the admin bar should also clear the cache in CF, but it doesn’t happen.
    Only if I go to the CF admin site and to the cache purge – it works.
    At the plugin UI I see it is integrated with CF, without any warnings.

    Any ideas?

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

    (@wpmudev-support1)

    Hi @eitanc,

    Clear Cache button in admin bar is applied to Page Caching and Cloudflare connection refers to Browser Caching.
    Can you try going to Hummingbird > Caching > Browser Caching page and in the bottom right you will see another Clear Cache button, try that out and let us know if that cleared CF cache.

    Cheers,
    Predrag

    Thread Starter eitanc

    (@eitanc)

    OK, this did the trick.

    So, I ask you to please:

    1. Enhance the admin bar option to also include a browser/CF cache purge menu item. I think it will help a lot.

    2. Explain better the differences between the page and the browser cache features

    3. In the cache settings – that the “File Change Detection” will also have a parallel option so post and pages content change (the text stored in the WP DB) will also trigger a purge of the local and CF cache. This will be a great automation benefit!

    4. Security – to setup the CF API you ask for the global API token of CF, which is the “strongest” API token they have for an account. I found a CF cache purge extension for Chrome, that claim to enable the purge of all CF cache using only a custom permissions API token. I think you should change your plugin to limit the risk by changing the token you ask for to be such a custom token.
    See at
    https://chrome.google.com/webstore/detail/cloudflare-purge-plugin/nbpecchpcfacahhekolpaofpmogkmmok?hl=en
    https://www.cf-purge.com/token-setup.html

    Thanks!!!

    Hi @eitanc,

    1. You won’t be able to clear browser cache from a button in the plugin. You can do that from the browser settings. However, clearing cache in Cloudflare is possible. But that won’t really do anything for the users, because their browser cache won’t be cleared with that action.

    2. Browser cache and Cloudflare cache is only applicable to static assets (images, css, js files). And content part (one in WP DB) is handled by page cache.

    3. Post and page content is auto cleared on page/post update, don’t think there’s a need for an extra option.

    4. Thanka! That’s sounds like a really good suggestion. I will check if that’s possible.

    Best regards,
    Anton

    Hello @eitanc

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Clearing the Cloudflare cache doesn’t work?’ is closed to new replies.