Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mahdiyazdani/59f5458f2446ad02f89c50b62b0b8b3c to your computer and use it in GitHub Desktop.
Save mahdiyazdani/59f5458f2446ad02f89c50b62b0b8b3c to your computer and use it in GitHub Desktop.
Using <meta> tags to turn off caching in all browsers
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment