Each release of the web project must clear the cache before it is updated.

after each release of the web project, the test clears the browser before updating the modified part. How to solve the problem


<meta http-equiv="cache-control" content="no-cache,no-store, must-revalidate" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />

File with a timestamp suffix


you can use the Tampermonkey plug-in to automatically clear the cache when the page under this domain is refreshed


my project is that every time laravel+vue deploys a new version, it executes the php artisan cache:clear command to clear all kinds of caches

you are the default configuration in vue-cli 's project vue-cli. Hash values are added to the names of css and js, so the names of the new version css, js and the old version are different, and there will be no cache problems.

when you put the packaged index.html into the server, the index.html may be cached on the server side, which requires that the server configure not to cache the index.html.

Menu