I am trying to understand how the “Caching Level: Ignore Query String” page rule works.
I assumed that what it means is that Cloudflare will ignore the query string, but it also seems that it strips the query string in the cases that Cloudflare doesn’t have a cached version and the request reaches my server. Is this how it is supposed to work?
What I want:
- A request is made for http://mydomain.com/x.js?y=10
- Cloudflare doesn’t have x.js in its cache yet, so that whole request (including the query string) reaches my server, which provides a response.
- Later a request is made for http://mydomain.com/x.js?y=15
- Cloudflare already has x.js in its cache, so it ignores the query string and responds to the request without passing the request to my server.
However it seems that at step 2 Cloudflare makes the request to my server without the Query. So it acts more like “strip query”, rather than just “ignore query”?