Amp
CDCloudflare Developers
•Created by Amp on 4/26/2025 in #general-help
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
2 replies