brief-traffic-3667507/21/2023, 11:11 AM
or just the
. I am asking because:
• From this issue it seems the
• It seems that CloudFlare that we are using is respecting either
According to CloudFlare docs:
, if also returned by the origin, is proxied as is and does not affect caching decisions made by Cloudflare.
swift-helmet-364807/21/2023, 4:53 PM
happy-autumn-4093807/21/2023, 4:57 PM
or similar non-standard headers.
Is there an issue you're trying to solve, such as customizing your cache TTL?
brief-traffic-3667507/21/2023, 4:58 PM
happy-autumn-4093807/21/2023, 5:07 PM
Your CDN should respect these directives. If not, you should be able to override / make your own CDN caching rules for this endpoint. Not sure the CloudFlare specific way of doing this though.
The issue you linked to would allow the user to configure these rules a bit more using environment variables rather than needing to write CDN-level overrides.
Cache-control: public, max-age=30, stale-while-revalidate=3600, stale-if-error=36000
brief-traffic-3667507/22/2023, 9:50 AM
Your CDN should respect these directives.Yes but CloudFlare explicitly states it doesn't (unless I am misinterpreting sth). In any case I think this is not an issue to bug you with, this is more on our side to check, just wanted a second opinion and maybe a feedback from some user who has CFlare in front of a GB deployment