Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't update favicon in Google Chrome #77

Closed
zl-kolev opened this issue Feb 11, 2018 · 2 comments
Closed

Doesn't update favicon in Google Chrome #77

zl-kolev opened this issue Feb 11, 2018 · 2 comments
Labels

Comments

@zl-kolev
Copy link

Strangely, Live Server caches an old version of the favicon my website is using, even though it's not declared in the HTML at all. I have to explicitly declare a new icon in order to get it changed. It gets even more frustrating when I comment out that declaration and the favicon is still there, but only in Google Chrome. As expected, in Firefox it doesn't show.

I'm using Windows 10 x64, VS Code 1.20.0, Live Server 3.2.0.

Feel free to ask for more information, would be glad to assist.

@ritwickdey
Copy link
Owner

Okk!! it's not about live server! This is about the browser cache!

just try the trick (it may works):
<link rel="icon" href="favicon.ico?v=2" type="image/x-icon"/>

?v=ANYTHING will remove the cache.

@Arnie97
Copy link

Arnie97 commented May 2, 2018

Seems to be a known Chrome bug.
https://superuser.com/questions/375321/how-to-refresh-bookmark-favicons-in-chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants