Vite and Mix assets at the edge
Files under public/build can retain long cache lifetimes when the build includes a content hash in each filename.
Serve Laravel public assets and versioned Vite output from Cloud CDN. Keep session cookies, signed-in routes and form submissions with Laravel.
Point asset and storage URLs at Cloud CDN. Cache anonymous GET pages. Bypass session, CSRF POST and Horizon/admin routes.
Files under public/build can retain long cache lifetimes when the build includes a content hash in each filename.
User uploads and public disks are cached and can be transformed at delivery time.
Authenticated dashboards and CSRF-backed forms are not cached.
Serve hashed Vite/Mix files from the distribution after origin pull works.
Map the public disk hostname to Cloud CDN.
Anonymous landing pages can be cached with purge on deploy.
Keep login, dashboard, queues and POSTs on Laravel.
Yes. Cloud CDN sits in front of whichever origin those platforms expose.
Only anonymous pages without CSRF-sensitive forms or session HTML. Most app pages should bypass cache.
Hashed files do not need purge. Purge mix-manifest/unhashed HTML if you cache it.
Private files should stay signed at origin. Cache only public disks.