• Resolved denisgomesfranco

    (@denisgomesfranco)


    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

    (@uzairwp)

    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 to reply to this topic.