Hi there,
I’m setting max-age
on one of my endpoints to 300 seconds.
If I GET that endpoint directly, without going through a domain proxied through CF, you can see the max-age
is properly set.
Now if I GET that same endpoint through a domain that’s proxied through Cloudflare, Cloudflare sets the max-age
to 14400.
Why is that?
We dynamically generate this JS file so it’s important for us that if a customer edits it, changes will propagate within 5 minutes max. Is there some other mechanism I don’t know about that CF uses and changes will still propagate within 300 seconds that I set on my origin server?
Thank you!