evan
evan
CDCloudflare Developers
Created by evan on 1/29/2024 in #general-help
Does Cache Reserve support HTML files?
I'm curious if Cache Reserve supports HTML files, as I want to fully shield our origin server from unnecessary requests after I manually purge on content updates. I'm running an Astro server in SSR mode (so content editors can update the content) and assumed that Cache Reserve could do so as long as the files were marked as Eligible for Cache Reserve by a Cache Rule and have the correct Content-Length header. However, even with the Content-Length header being returned from the origin (which is just a CloudFlare pages domain) and the HTML files clearly cacheable (as I'm receiving cf-cache-status: HIT/MISS), my Cache Reserve shows 0B stored and 0 requests regardless. I've made all assets on my domain (by hostname) Eligible for Cache Reserve and Eligible for Cache. I don't know what more I can try to get the Cache Reserve to store my HTML files. Is this just a lost cause ?
9 replies