Title: Cache Query Strings
Last modified: August 23, 2022

---

# Cache Query Strings

 *  Resolved [Daniel Zimmermann](https://wordpress.org/support/users/optimiertes/)
 * (@optimiertes)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/cache-query-strings-2/)
 * Hello,
    thank you for providing this plugin and support!
 * I would like to deliver the cached HTML for ?ref and ?_gl parameters for e.g.
   
   Is there a way to cache certain query strings?
 * Best,
    Dan

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/cache-query-strings-2/#post-15945679)
 * Hi Dan,
    If you want to ignore certain query strings there are basically 2 ways
   you can achieve that:
 * 1. Using the Worker Mode: When using the worker mode it automatically ignores
   a huge range of query strings. But unfortunately the ones you have mentioned 
   i.e. `ref` and `_gl` are not present in the list. But you can easily overwrite
   the default worker code and add new extra items you like to add there. The instructions
   are clearly mentioned in the FAQ tab of the plugin settings: [https://i.imgur.com/ZTf7I4e.jpeg](https://i.imgur.com/ZTf7I4e.jpeg)
 * 2. If you have a Cloudflare Enterprise account you can also use Rewrite Rules.
   Learn more about it here: [https://wordpress.org/support/topic/fbclid-can-be-ignored-using-rewrite-rules-instead-of-paid-workers/](https://wordpress.org/support/topic/fbclid-can-be-ignored-using-rewrite-rules-instead-of-paid-workers/)
 * Hope this helps.
 *  Thread Starter [Daniel Zimmermann](https://wordpress.org/support/users/optimiertes/)
 * (@optimiertes)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/cache-query-strings-2/#post-15946361)
 * Thank you so much for your support, Saumya!

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

The topic ‘Cache Query Strings’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Zimmermann](https://wordpress.org/support/users/optimiertes/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/cache-query-strings-2/#post-15946361)
 * Status: resolved