front-end items are often cached by browsers
, but in some emergencies, it is often hoped that the cached html
and js
will not take effect, but go to the server to request the latest html
, js
and other files.
scenario: when a company"s business changes, it wants to disable a function as soon as possible. Since it often takes longer for the backend to modify, test, and publish
, it is often a good way to shield the frontend entry
first (emergency of ), but because the frontend is often cached by the browser, some users cannot use the function of
that is blocked
. And some users can still use it.
so how can modifying static front-end files invalidate those cached clients?
Front-end environment:
vue.js
, nginx