I updated my website's icon that shows at a tab of a browser. I cleared the data of the chromium browser (Ubuntu's version of Chrome):
'clear browsing data'->select 'from the beginning of time' and check everything->click 'clear browsing data'
However, I am still getting my old icon.
Any idea of how to clear that cache?
How to Flush Your Favicon Cache. In some instances loading the favicon directly and refreshing it and restarting Chrome will clear the cache and show the new asset. For example — visit https://domain.tld/favicon.ico, refresh the page and restart Chrome.
C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default\Cache. You can also find Chrome's cache folder using the Run command. Access the Run command through the Start menu or using the shortcut Windows key + R.
When you're in Google Chrome, click on View, then select Developer, then Developer Tools. Alternatively, you can right click on a page in Chrome, then click Inspect. Click on the Network tab, then check the box to Disable cache.
Open the favicon URL in another tab and do a Shift+Reload to fix this issue.
For example if Favicon URL is http://www.example.com/favicon.ico, open it in a new tab and do Shift+Reload.
You can send a different version of the same ico with a random get var (if your file is a .php)
<link href="ico.png?v=<?php echo rand(9999999,9999999999);?>" rel="icon" type="image/x-icon"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With