Created
March 13, 2013 22:44
-
-
Save cobbman/5157112 to your computer and use it in GitHub Desktop.
How to get your browser to update cache with images and files. Especially helpful for favicons!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start with this: | |
<link rel="shortcut icon" href="/ico/favicon.ico"> | |
And add this to the end of the image href: ?v=2 like this... | |
<link rel="shortcut icon" href="/ico/favicon.ico?v=2"> | |
This will tell your browser that the old version is out of date and to use the new version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment