Disabling Browser Caching with Meta HTML tags
Last updated:Add the following <meta>
HTML tags to the page(s) you want to keep browsers from caching:
Add the code to the <head>
section of your code, after <title>
, for example.
<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" />