Ignore Query String for HTML pages

caching

#1

Hi everyone,

I want to cache the HTML on this page for any query string:

For example, I want the following URLs:



For any id value I want to show the base URL content:

So i want to just cache by ignoring the query string.

But here it says https://support.cloudflare.com/hc/en-us/articles/200168256 :
Ignore Query String / Simple: Delivers the same resource to everyone independent of the query string (Note: The Ignore Query String setting only applies to static file extensions. This setting will remove the query string when generating the cache key, so that a request for “style.css?something” will be normalised to just “style.css” when serving from the cache.).

But it only works for static file extensions listed here:

How do I ignore query string AND cache HTML???

Thank you,
Evan Jerkunica


#2

4 posts were merged into an existing topic: Caching Static HTML and Ignore Query Strings


#5

A post was merged into an existing topic: Caching Static HTML and Ignore Query Strings


#6