(http.host eq "org.example.com" and not http.request.uri.query matches ".+[=]?.*")
Cache status: Eligible for cache
Edge ttl: respect origin
In this configuration caching does not work at all. Repsonse CF-Cache-Status is always BYPASS.
If I set: Edge ttl: override origin
Then the cache works, but cache-control headers are ignored (also CDN-Cache-Control or Cloudlfare-CDN-Cache-Control).
How do I get it to respect the cache-control headers?
Matching against “” does not work. I don’t know the internals of how CF matches the query string, but if there is no query string it does not match with “”. However, it does match with the RegEx I used. But it will never respect origin.