Cache busting using Laravel Mix and CDN by Ryuta Hamasaki

Laravel Mix is an easy-to-use tool for building assets without writing Webpack config. It works out of the box for 80% use cases. However, in real-world applications which have high traffic or global audience, you need to serve assets from CDN with proper cache busting strategy for the purpose of performance gain. Laravel Mix doesn’t support uploading and serving assets from CDN by default, but you can achieve this by customizing Laravel Mix setup and Laravel’s helper function. In this session, I’ll walk yo
Back to Top