404 After Purge - Development Mode Works, Normal Mode Doesn't

I'm running into an issue where my site works perfectly when I turn on Development Mode in Cloudflare, but when I turn it off, I get a 404 error. Here's what I’ve tried so far: - Purged everything from the Cloudflare cache (both single URL and full cache purge). - Confirmed that the page is available when bypassing cache (Development Mode on). - Cleared browser cache and tried in Incognito mode. - Verified that the origin server is correctly serving the file. Still, after disabling Development Mode, I get a 404 from Cloudflare. Note: - The website is SPA serving HTML, CSS, JS - Most of the assets were loaded correctly, only specific JS chunk file that keep returning 404
1 Reply
Amp
AmpOP5d ago
Currently I create a cache rule that bypass cache just for JS chunk files to make my site works.

Did you find this page helpful?