Pages not being served from cached when google merchant adds the url parameter srsltid
What are the steps to reproduce the issue?
Go to any product in the shopping tab of google click on it, and notice how they are now including that new url parameter.
That makes Cloudflare think it is dynamic content when it is not.
https://www.example.com/shop and https://www.example.com/shop?id=123 are technically two separate URLs even if they return the same content. That’s why you’re seeing this behaviour.
Luckily, Cloudflare gives you control over how to handle caching in the case of query parameters: Go to CACHING -> CONFIGURATION for the zone in question, and configure Caching Level as desired.
The three options are:
No Query String: Only delivers files from cache when there is no query string.
Ignore Query String: Delivers the same resource to everyone independent of the query string.
Standard: Delivers a different resource each time the query string changes.