in Laravel

Laravel Mix Extract And Versioning

When browsers load assets such as CSS and JS they will locally cache them so that they can served quicker the next time users visit the website.

The problem with this is that if you make future changes to the files and upload them to production some users may still be downloading the older version of the asset files.

A way around this is to add a querystring timestamp to the end of the asset URLs this will make sure that the browser downloads the latest version each time. But th

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email