Hashed bundles worldwide
Content-hashed main, polyfill and lazy-loaded chunks can retain long cache lifetimes.
Cache hashed JavaScript and CSS bundles. Refresh the application shell on deployment and ensure deep links for client-side routes still return the correct document.
Cache / and hashed bundles at Cloud CDN. Serve index.html with a purgeable TTL. Keep API and authenticated XHR on the application origin.
Content-hashed main, polyfill and lazy-loaded chunks can retain long cache lifetimes.
SSG or prerender HTML can be cached and purged on release.
Use Cloud DNS to resolve the application hostname and Cloud CDN to deliver its assets.
Serve the dist output from any HTTPS origin.
Fingerprinted JS, CSS and assets get long TTLs. index.html is purged on deploy.
Unknown paths can fall back to index.html at the origin or via hosting rules.
Attach TLS and cut over DNS after verifying the test hostname.
Yes. Cache shareable SSR HTML. Bypass responses that vary on cookies or session.
Keep Angular output hashing. Long-cache the hashed files and purge index.html on deploy.
Treat Universal as an origin. Cache anonymous rendered routes and keep user-specific routes dynamic.
Cache each locale path or hostname separately so locale bundles are not mixed.