Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clear the icon cache of Chromium browser

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?

like image 406
Evan_HZY Avatar asked Jan 12 '13 01:01

Evan_HZY


People also ask

How do I clear my browser favicon?

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.

Where is chromium cache located?

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.

How do I turn off chromium cache?

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.


2 Answers

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.

like image 170
Pankaj Avatar answered Oct 22 '22 02:10

Pankaj


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"/>
like image 42
JTCon Avatar answered Oct 22 '22 02:10

JTCon