evan
evan
CDCloudflare Developers
Created by evan on 1/29/2024 in #general-help
Does Cache Reserve support HTML files?
wondering if anyone else has successfully cached HTML documents—it seems like a no-brainer to have implemented, as this would instantly make obsolete many of the (for example) existing WordPress server cache plugins
9 replies
CDCloudflare Developers
Created by evan on 1/29/2024 in #general-help
Does Cache Reserve support HTML files?
i'm setting Content-Length and everything, which is making me worry that the Cache Reserve for some reason only respects the default cache behaviors and content types, and won't actually cache HTML resources even if you mark them as "Eligible for Cache" with a Cache Rule
9 replies
CDCloudflare Developers
Created by evan on 1/29/2024 in #general-help
Does Cache Reserve support HTML files?
yep, I've got one of those in place. caching works correctly, but cache MISSes are getting sent all the way back to the origin and the Cache Reserve is never brought into the picture (it's still sitting at 0B of data stored with 0 requests). i've enabled both Tiered Caching and Cache Reserve, and have a "Eligible for Cache" Cache Rule (not Page Rule) that is working for my HTML files
9 replies
CDCloudflare Developers
Created by evan on 1/29/2024 in #general-help
Does Cache Reserve support HTML files?
example headers returned from my origin when requesting without transform encoding:
content-type: text/html
content-length: 83654
cdn-cache-control: public, max-age=31536000, stale-if-error=86400, stale-while-revalidate=3600
content-type: text/html
content-length: 83654
cdn-cache-control: public, max-age=31536000, stale-if-error=86400, stale-while-revalidate=3600
is there something i'm doing wrong?
9 replies