Title: Ignore cache with query strings/UTM
Last modified: August 4, 2026

---

# Ignore cache with query strings/UTM

 *  Resolved [denisgomesfranco](https://wordpress.org/support/users/denisgomesfranco/)
 * (@denisgomesfranco)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/ignore-cache-with-query-strings-utm/)
 * Hi. I’m debuggin an issue raised by a client. His website uses UTM query strings
   to track an Elementor page with a form, and this form takes the query strings
   and put them as hidden fields in the page.
 * What I noticed is that it seems that Easy Optimizer is serving up the same cached
   version of the page regardless of what is in the query strings. For example:
 * /page/?utm_source=source_a > serves /page/
   /page/?utm_source=source_b > serves/
   page/
 * I think caching plugins would store cached copies with the query strings, that
   is, in the example above it would generate two cached copies of the page instead
   of only one.
 * I fixed this by adding a URL exclusion of ‘utm’ so it would skip any and all 
   pages that have UTM in the URL, however my suggestion is to add a toggle to allow
   caching of pages *with* their query parameters (and yes, I am aware this could
   end up generating a very large cache with all the crawlers trying to crawl any
   and all query parameters possible 😅), or a toggle to skip cache if any query
   parameters are present.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Uzair](https://wordpress.org/support/users/uzairwp/)
 * (@uzairwp)
 * [5 days, 17 hours ago](https://wordpress.org/support/topic/ignore-cache-with-query-strings-utm/#post-18988277)
 * Hi,
   We’ve addressed this by adding a new **“Cache Query Parameters”** option 
   in Easy Optimizer’s caching settings. This allows query-parameterized URLs to
   be cached separately when needed.Please update to the latest version.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fignore-cache-with-query-strings-utm%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/easy-optimizer/assets/icon-256x256.gif?rev=3545305)
 * [Easy Optimizer – PageSpeed, Cache & Core Web Vitals (Unused CSS, Delay JS, Lazy Load)](https://wordpress.org/plugins/easy-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-optimizer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Uzair](https://wordpress.org/support/users/uzairwp/)
 * Last activity: [5 days, 17 hours ago](https://wordpress.org/support/topic/ignore-cache-with-query-strings-utm/#post-18988277)
 * Status: resolved