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. 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 this may be overkill, you don't need users to download the files every time, they only need to be downloaded if something has changed.
Then we can add versioning to your JavaScript files by using the version method. mix.js('resources/js/app.js', 'public/js') .extract(['vue']) .version(); The version method will create a unique hash to append to the files.