You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OHF-Device-Database/frontend#66 introduced a new astro caching provider that emits standard http caching headers instead of using astro's built-in in-memory cache, eliminating the need to issue requests within the validity window of a resource
what still needs to be evaluated before this is rolled out, is if the haproxy setup just passes these headers through, or if it attempts to do some caching on its own
The HAProxy template has no cache section, no cache filter, no cache-use or cache-store directive, no compression filter, and no response rule that adds, removes or rewrites headers. So no problem on that side.
Cloudflare does not cache HTML by default and ignores Vary, so before today every page was cf-cache-status: DYNAMIC regardless of what the origin sent. Two Cache Rules now exist on the zone for device-database-preview.openhomefoundation.org:
cache per origin Cache-Control: anonymous requests (no cookie, no Authorization, no ?feature=) are eligible for cache, edge TTL "use Cache-Control if present, bypass if not", browser TTL "respect origin".
bypass personalized requests: anything with a cookie, an Authorization header or feature= in the query bypasses the cache, so a signed-in or feature-flagged visitor can never be served an anonymous copy.
Once the release with the cache provider ships, anonymous pages should go MISS then HIT:
Activity
djwmarcx commentedon Nov 9, 2026
The HAProxy template has no cache section, no cache filter, no cache-use or cache-store directive, no compression filter, and no response rule that adds, removes or rewrites headers. So no problem on that side.
Evaluating cloudflare now
djwmarcx commentedon Nov 9, 2026
Cloudflare does not cache HTML by default and ignores
Vary, so before today every page wascf-cache-status: DYNAMICregardless of what the origin sent. Two Cache Rules now exist on the zone fordevice-database-preview.openhomefoundation.org:Authorization, no?feature=) are eligible for cache, edge TTL "use Cache-Control if present, bypass if not", browser TTL "respect origin".Authorizationheader orfeature=in the query bypasses the cache, so a signed-in or feature-flagged visitor can never be served an anonymous copy.Once the release with the cache provider ships, anonymous pages should go
MISSthenHIT: