Sabitlenmiş Tweet

🧵 Our Angular app had intermittent infinite loading — blank screen, no API calls, just a spinner forever.
Root cause? ChunkLoadError.
Nginx was caching index.html for 30 days. After every deploy, browsers served stale index.html pointing to old chunk files that no longer existed on the server.
Fix: Cache-Control: no-store on index.html. Cache static assets separately with max-age.
One config change. Problem gone.
Never cache index.html in a SPA. Cache the assets, not the entry point.
#Angular #DevOps #Nginx #ChunkLoadError #Frontend #Kubernetes #WebDev
English

























