In css, you can use the content attribute to clear the css cache. Just add "CONTENT="no-cache/0"" to the meta tag. The content attribute can set or return the content attribute value of the meta element. This attribute specifies the content of meta information.
The operating environment of this tutorial: windows7 system, HTML5&&CSS3 version, DELL G3 computer.
Add the non-caching flag in the page (HTML page
):<META HTTP-EQUIV="pragma" CONTENT="no-cache"> < META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> < META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
or
<META HTTP-EQUIV="expires" CONTENT="0">
Related learning recommendations: css tutorial
The above is the detailed content of How to clear css cache. For more information, please follow other related articles on the PHP Chinese website!