I am using Angular framework and I have implemented a app for changing favicon. When I changed the icon by using app, it's not changed.When I clear the cache and reload, it worked well. But I want to do that when I save the new favicon.
Asked
Active
Viewed 267 times
1 Answers
1
To refresh your favicon you can force browsers to download a new version using the link tag and a querystring on your filename.
<link rel="icon" href="http://www.yoursite.com/favicon.ico?v=2" />

Fareed Khan
- 2,613
- 1
- 11
- 19
-
Can you please explain more? – Oshadha Punchihewa May 15 '20 at 02:27
-
1@OshadhaPunchihewa In my opinion you can check this question, it contain plenty of answers -- https://stackoverflow.com/questions/2208933/how-do-i-force-a-favicon-refresh/2208977#2208977 – Fareed Khan May 15 '20 at 05:24