Cache-Control Headers not respected on CloudFlare
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to get some html pages to be cached, the same way images are automatically cached via CloudFlare but I can't get CloudFlare to actually hits its cache for html. According to the documentation (Ref: https://support.cloudflare.com/hc/en-us/articles/202775670-How-Do-I-Tell-CloudFlare-What-to-Cache- ), it's possible to cache anything with a Cache-Control set to public with a max-age greater than 0. I've tried various combinations of headers on my origin Nginx server without success. From a simple Cache-Control: public, max-age