The doc is so confused.
- Does it cache method other than GET?
- Does it return different content based on query parameters?
- Does it cache response other than 200?
The doc is so confused.
and HEAD. Any data manipulation requests such as POST and PATCH will not be cached.
Yes.
Yes. See the Cloudflare Developers documentation (somehow I can’t paste links in my mobile browser).
Do you mean they also cache the following:
https://developers.cloudflare.com/cache/how-to/configure-cache-status-code/#edge-ttl
HTTP status code | Default TTL |
---|---|
200, 206, 301 | 120m |
302, 303 | 20m |
404, 410 | 3m |
403 | 0s |
500, 502, 503, 504 | 0s |
If I set Edge Cache TTL as well, will it only affect response status 200 or all?
Thank you!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.