Vite bundles at the edge
A hashed filename lets the edge reuse the asset until a later build introduces a new URL.
Cache built Vue assets by their versioned filenames. Configure the origin to serve the application shell for client-side routes and handle API paths separately.
Pull the Vue dist output through Cloud CDN. Long-cache hashed assets, purge index.html on deploy, and keep API traffic dynamic.
A hashed filename lets the edge reuse the asset until a later build introduces a new URL.
The Vue HTML shell updates as soon as CI purges it.
Resolve the Vue hostname on Anycast DNS and deliver on the same footprint.
Use any HTTPS origin Cloud CDN can pull.
Fingerprinted Vite assets get long TTLs.
Add a purge step to the Vue deploy pipeline.
Attach the production hostname after a test pass.
Yes. Cache shareable SSR HTML. See CDN for Nuxt when you use the Nuxt framework.
Use a production origin, not a development preview server, as the CDN origin.
Hashed locale JSON can use long TTLs. Purge unhashed i18n files on deploy.
Avoid exposing source maps on the public distribution unless you intend them to be public.