Title: Cache Buster Query
Last modified: December 27, 2023

---

# Cache Buster Query

 *  Resolved [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/)
 * I currently have the cache buster query enabled (not brave enough yet to go buster
   free with CloudFlare rules as I fear I will miss something important!). The buster
   is added automatically to URLs that are self-generated by WordPress. However,
   I have noticed that some links, particularly those I have added myself to Elementor
   elements, do not seem to automatically add the buster on. Is this something I
   should expect?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17303469)
 * I’ve actually taken the plunge and followed the steps to implement the CloudFlare
   rules – however, now my cache status constantly shows as Dynamic (www.examinedental.
   com) and the tests fail in the Dashboard.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17305402)
 * Hi,
   Can you share a screenshot of the page rule section and the cache rule section
   from your Cloudflare dashboard?
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17306173)
 * Hi,
 * So my Page Rules: [https://ibb.co/kXpm216](https://ibb.co/kXpm216) (both have
   been switched off)
 * My cache rules: [https://ibb.co/Ld5pjGg](https://ibb.co/Ld5pjGg)
 * This is my expression for the bottom cache rule (the main one -swapped out website
   name):
 * (http.host eq “website.com” and not starts_with(http.request.uri.path, “/wp-admin”)
   and not starts_with(http.request.uri.path, “/wp-login”) and not starts_with(http.
   request.uri.path, “/wp-json/”) and not starts_with(http.request.uri.path, “/wc-
   api/”) and not starts_with(http.request.uri.path, “/edd-api/”) and not starts_with(
   http.request.uri.path, “/mepr/”) and not http.request.uri.path contains “/register/”
   and not http.request.uri.path contains “/dashboard/” and not http.request.uri.
   path contains “/members-area/” and not http.request.uri.path contains “/wishlist-
   member/” and not http.request.uri.path contains “phs_downloads-mbr” and not http.
   request.uri.path contains “/checkout/” and not http.request.uri.path contains“.
   xsl” and not http.request.uri.path contains “.xml” and not http.request.uri.path
   contains “.php” and not starts_with(http.request.uri.query, “s=”) and not starts_with(
   http.request.uri.query, “p=”) and not http.request.uri.query contains “nocache”
   and not http.request.uri.query contains “nowprocket” and not http.cookie contains“
   wordpress_logged_in_” and http.cookie ne “comment_” and not http.cookie contains“
   woocommerce_” and not http.cookie contains “wordpressuser_” and not http.cookie
   contains “wordpresspass_” and not http.cookie contains “wordpress_sec_” and not
   http.cookie contains “yith_wcwl_products” and not http.cookie contains “edd_items_in_cart”
   and not http.cookie contains “it_exchange_session_” and not http.cookie contains“
   comment_author” and not http.cookie contains “dshack_level” and not http.cookie
   contains “auth_” and not http.cookie contains “noaffiliate_” and not http.cookie
   contains “mp_session” and not http.cookie contains “xf_” and not http.cookie 
   contains “mp_globalcart_” and not http.cookie contains “wp-resetpass-” and not
   http.cookie contains “upsell_customer” and not http.cookie contains “wlmapi” 
   and not http.cookie contains “wishlist_reg” and not starts_with(http.request.
   uri.path, “/login”) and not starts_with(http.request.uri.path, “/register”) and
   not http.request.uri.path contains “thank-you”)
 * Thanks
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17306394)
 * Hi,
   1. Why do you have so many cache rules? You just need one. Check: [https://gist.github.com/isaumya/af10e4855ac83156cc210b7148135fa2](https://gist.github.com/isaumya/af10e4855ac83156cc210b7148135fa2)
   2. In the host you need to put www like this `www.examinedental.com`
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17306594)
 * Thanks for getting back. I am in the process of combining them currently. I also
   found it easier to break things down initially so I knew exactly what each one
   does. The link you provided doesn’t seem to work unfortunately?
 * 2. Now reads – I am assuming this is what you referred to?:
 * (http.host eq “www.website.com” and not starts_with(http.request.uri.path, “/
   wp-admin”) and not starts_with(http.request.uri.path, “/wp-login”) and not starts_with(
   http.request.uri.path, “/wp-json/”) and not starts_with(http.request.uri.path,“/
   wc-api/”) and not starts_with(http.request.uri.path, “/edd-api/”) and not starts_with(
   http.request.uri.path, “/mepr/”) and not http.request.uri.path contains “/register/”
   and not http.request.uri.path contains “/dashboard/” and not http.request.uri.
   path contains “/members-area/” and not http.request.uri.path contains “/wishlist-
   member/” and not http.request.uri.path contains “phs_downloads-mbr” and not http.
   request.uri.path contains “/checkout/” and not http.request.uri.path contains“.
   xsl” and not http.request.uri.path contains “.xml” and not http.request.uri.path
   contains “.php” and not starts_with(http.request.uri.query, “s=”) and not starts_with(
   http.request.uri.query, “p=”) and not http.request.uri.query contains “nocache”
   and not http.request.uri.query contains “nowprocket” and not http.cookie contains“
   wordpress_logged_in_” and http.cookie ne “comment_” and not http.cookie contains“
   woocommerce_” and not http.cookie contains “wordpressuser_” and not http.cookie
   contains “wordpresspass_” and not http.cookie contains “wordpress_sec_” and not
   http.cookie contains “yith_wcwl_products” and not http.cookie contains “edd_items_in_cart”
   and not http.cookie contains “it_exchange_session_” and not http.cookie contains“
   comment_author” and not http.cookie contains “dshack_level” and not http.cookie
   contains “auth_” and not http.cookie contains “noaffiliate_” and not http.cookie
   contains “mp_session” and not http.cookie contains “xf_” and not http.cookie 
   contains “mp_globalcart_” and not http.cookie contains “wp-resetpass-” and not
   http.cookie contains “upsell_customer” and not http.cookie contains “wlmapi” 
   and not http.cookie contains “wishlist_reg” and not starts_with(http.request.
   uri.path, “/login”) and not starts_with(http.request.uri.path, “/register”) and
   not http.request.uri.path contains “thank-you”)
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307211)
 * Hi,
   As I can see your pages are being cached by Cloudflare now: [https://i.imgur.com/Y0L06b3.jpeg](https://i.imgur.com/Y0L06b3.jpeg)
 * But I do not see this plugin being active on your website.
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307255)
 * Hi,
 * I definitely have the plugin active:
 * [https://ibb.co/X2s1B2t](https://ibb.co/X2s1B2t)
 * [https://ibb.co/RHvn2gx](https://ibb.co/RHvn2gx)
 * It was working before I changed these settings for definite so unsure what is
   going on here..
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307259)
 * Then you definitely have so other page caching solution action which is removing
   the response headers added by this plugin. Please ensure that you have page caching
   is disabled in other optimization plugins that you have.
 * Also, if you have any server-level page caching enabled, consider disabling tht
   as well.
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307261)
 * I have FlyingPress as my only other caching option and no server-level caching(
   I’m running OLS). I guess this setting being off is an issue: [https://ibb.co/Ybq5Y66](https://ibb.co/Ybq5Y66)?
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307264)
 * Please consider disabling flyingpress and clear the Cloudflare cache and then
   let me know so that I can check your website response headers.
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307273)
 * I have just disabled FP and purged the cache – please let me know what you find.
   Thank you
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307276)
 * Yes, now everything is working well: [https://i.imgur.com/4a8R0nL.jpeg](https://i.imgur.com/4a8R0nL.jpeg)
 *  Thread Starter [rockinaway](https://wordpress.org/support/users/rockinaway/)
 * (@rockinaway)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307278)
 * Thank you – forgive me for the stupid question then. With FP enabled (as it provides
   lots of other key functions), is this plugin redundant?
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307295)
 * In FP, you can disable all kind of page cache operation but use it for other 
   static file optimization features if that plugin allows you to do that. Otherwise
   you need to choose between one or the other.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Cache Buster Query’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/cache-buster-query/#post-17307295)
 * Status: resolved