Title: Clear cache also clears Cloudflare cache
Last modified: November 21, 2018

---

# Clear cache also clears Cloudflare cache

 *  Resolved [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/)
 * Hi guys,
    As part of being integrated with Cloudflare, should hitting “Clear 
   Hummingbird Cache” also clear my cache in Cloudflare?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/page/2/?output_format=md)

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902423)
 * [@willstockstech](https://wordpress.org/support/users/willstockstech/),
 * As long as you have the integration set up in Hummingbird – yes, Cloudflare cache
   will be cleared
 * Best regards,
    Anton
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902429)
 * Hi [@vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Thanks for the quick response!
 * So, I have the integration setup, but I’m not seeing this behaviour. I’m having
   to go into Cloudflare after-the-fact to “manually” clear the cache.
 * Is there a particular piece of config I may have overlooked?
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902456)
 * Can you please try going to Hummingbird – Caching – Browser Caching, at the bottom
   click Clear Cache and verify that the cache is cleared in Cloudflare?
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902466)
 * I will give it a go shortly for you.
 * I was clearing the cache via the admin bar button.
 * Basically, what I was seeing (around 10 – 15 mins ago):
    1) I had cleared my 
   site cache 2) Navigated into my site in an incognito window 3) Cleared cache 
   and refreshed – same page 4) Repeat step 3 a few times 5) Opened Cloudflare control
   panel 6) Clear Cloudflare cache 7) Open the window I opened in step 2 8) Repeat
   step 3 – changes show!
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902484)
 * [@willstockstech](https://wordpress.org/support/users/willstockstech/),
 * Perhaps you are referring to page caching (similar to Page Rules in Cloudflare)?
   Hummingbird will only clear out browser cache stuff – css/js/images. It won’t
   clear out cached pages.
 * Best regards,
    Anton
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902494)
 * Ah, OK – so by hitting “Clear Cache” on the “Page Caching” settings page (and
   wp-admin bar – admin.php?page=wphb-caching&view=main) Hummingbird will _not_ 
   clear the Cloudflare “page cache” as well as browser cache?
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902496)
 * It will clear out all HB caches – page cache, gravitas cache, asset optimization
   cache, etc + Cloudflare browser cache.
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10902515)
 * OK thanks [@vanyukov](https://wordpress.org/support/users/vanyukov/) – I will
   continue to jump into Cloudflare and hit “Purge Everything” in the event I clear
   my HB cache, as Cloudflare definitely seems to be holding onto something each
   time.
    At the moment, I’m still using Autoptimize instead of HB Asset Optimization,
   as I had some issues a couple of versions ago where assets were not optimizing
   properly. I’ll retry again in the future. RE: Gravatar caching – I’m finding 
   that [https://wordpress.org/plugins/optimum-gravatar-cache/](https://wordpress.org/plugins/optimum-gravatar-cache/)
   is simply suiting my wants/needs a bit more than HB’s option was. I’ll give this
   another whirl at some point in the future too, but I like having some degree 
   of “customizability”/control in this area.
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903454)
 * [@vanyukov](https://wordpress.org/support/users/vanyukov/) – out of curiosity,
   why not clear the “full cloudflare cache”? (aka “purge everything”)? [https://api.cloudflare.com/#zone-purge-all-files](https://api.cloudflare.com/#zone-purge-all-files)
    -  This reply was modified 7 years, 5 months ago by [Will Stocks](https://wordpress.org/support/users/willstockstech/).
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903824)
 * [@willstockstech](https://wordpress.org/support/users/willstockstech/),
 * That’s exactly what HB is using. But that was never tested with Page Rules, as
   it was not the intended integration. Are you sure that this endpoint should be
   clearing out cache from Page Rules and not just the static assets?
 * Best regards,
    Anton
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903872)
 * [@vanyukov](https://wordpress.org/support/users/vanyukov/)
 * OK… that’s interesting. I do have “simple” Page Rules setup such as:
    [https://mydomain.url*](https://mydomain.url*)
   Cache Level: Cache everything Edge Cache TTL: 2 hours
 * However if I’m clearing my cache “manually” via the Cloudflare control panel,
   I’m not doing anything other than logging in and hitting that “Purge Everything”
   button, which in theory is doing the same `DELETE https://api.cloudflare.com/
   client/v4/zones/:identifier/purge_cache` which I assume HB is doing… so not sure
   why my Cloudflare cache isn’t clearing when I hit “Clear Cache” in my wp-admin.
   Any way I can try to “debug”?
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903875)
 * I know my CF integration is working, because I can update browser cache expiration
   via HB and it reflects in CF
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903910)
 * I’d start from the audit log, it’s under Account Home – Audit Log. Check that
   the call is logged there. You should be looking for a ‘Purge everything’ entry
   that has an IP address of your site. Verify that the zone that is being cleared
   is the correct one.
 * Best regards,
    Anton
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903972)
 * Just tried again. I’m checking the audit log and nothing is showing in there.
   HB gave me:
    Your local and Cloudflare caches have been successfully cleared.
   Your assets will regenerate the next time someone visits your website.
 * But there’s nothing in the Cloudflare Audit Log.
 * I’m seeing:
    Cloudflare is connected for this domain. Adjust your expiry settings
   and save your settings to update your Cloudflare cache settings.
 * In the HB settings
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/#post-10903985)
 * Aha! So it took about 5 minutes, but I’m now seeing a “Purge Everything” in my
   Audit Log with a source of my web server’s IP and against the correct zone – 
   so there’s a little delay there for some reason.
    I’ll keep an eye on it over
   the next couple of days and will get back to you!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/page/2/?output_format=md)

The topic ‘Clear cache also clears Cloudflare cache’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/clear-cache-also-clears-cloudflare-cache/page/2/#post-10904006)
 * Status: resolved