What is the name of the domain?
n/a
What is the error number?
n/a
What is the error message?
n/a
What is the issue you’re encountering
Cloudflare Serving Cached Pages with 404 Static Assets
What steps have you taken to resolve the issue?
n/a
What are the steps to reproduce the issue?
After a new deployment, Cloudflare is serving cached HTML pages that reference hashed JS and CSS files in the _next/static folder. However, some of these files no longer exist, causing 404 errors and breaking the page.
What strategies could we use to prevent this without having to purge hundreds of thousands of pages?