Skip to content
Discussion options

You must be logged in to vote

The headers already point to an edge-cache problem: the canonical URL returns a cached 404 (cf-cache-status: HIT, large age), while adding a query string reaches the origin and returns 200 text/css.

The immediate fix is to purge the exact asset URL from Cloudflare and verify it from more than one location. For the deployment configuration, avoid caching error responses for hashed static assets, and only apply the long-lived immutable cache policy when the origin returns a successful asset response.

As a temporary client-side workaround, the documentation deployment could reference the same hashed file with a cache-busting query parameter, but the durable fix is purging the stale 404 and c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by M4tt1-Coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants