Override cache control Headers only when headers not present


Can we add the cache control headers only when the cache control header is not returned from the origin? Let’s say I have an URL which is not returning the any cache control headers, so cloudflare will sett cache control as max-age:16000 but if there is already cache control header then it should pass as it is


This is probably possible with Workers and the cache API, but I don’t see this becoming a CF feature on its own.

closed #3

This topic was automatically closed after 31 days. New replies are no longer allowed.