problem description
how to update the cache through meta without filling in the version numbers of js, css, and img?
the environmental background of the problems and what methods you have tried
because there are too many pages and there are no projects to build, it is really troublesome to change the version number manually because it is done in a pure html+css+js way.
as far as I"m concerned, all I know is to negotiate the cache, check whether the server file is updated, download it again if it is updated, and use the cache if there is no update.
but as far as I know, the following three meta are divided into priority and what. I"m not sure whether they have to be downloaded again every time or as I said.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< meta http-equiv= "Pragma" content= "no-cache" >
< meta http-equiv= "Cache-Control" content= "no-cache" >
< meta http-equiv= "Expires" content= "0" >
what result do you expect? What is the error message actually seen?
which of the above codes are selected or how to change them can achieve
check whether the server file is updated, download it again if it is updated, and take advantage of the cache if there is no update.
this effect. I hope the bosses can solve my doubts.
because the web talk about caching is too abstract.