Why Cloudflare’s edge cache broke my Inertia.js app (and how to fix it)
A misconfigured cache header turned a Laravel + Inertia.js app into a debugging nightmare when Cloudflare served cached HTML to XHR requests expecting JSON. Here’s how edge caching collides with Inertia.js—and the fix that restored normal behavior.