Closed Bug 777212 Opened 12 years ago Closed 9 years ago

Reloading (overriding cache) does not clear the favicon.

Categories

(Firefox :: Tabbed Browser, defect)

14 Branch
x86_64
Windows 7
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 418144

People

(Reporter: dn21, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

I tried pressing both CTRL+R and CTRL+SHIFT+R to see the changes I made to the favicon.ico file, in the header of my HTML file.


Actual results:

Instead, the favicon remained the same as before. It did not delete the favicon from the cache. In order to work around this, I had to clear my entire cache, by going to History > Clear Recent History... > Cache > Clear Now.


Expected results:

Pressing CTRL+SHIFT+R should've overwritten anything in the cache that page contained (especially since it has to re-download all other images on the page).
Severity: normal → trivial
Component: Untriaged → File Handling
Do you mean the favicon in the tab bar or in the bookmark entry ?
Component: File Handling → Untriaged
I mean in the tab bar.
Component: Untriaged → Tabbed Browser
I confirm this bug too. I've been seeing it for years and it is happening in latest nightlies too.

Steps to reproduce:

1. Visit a page you have access to changing the favicon. See the favicon displayed on the tab.
2. Replace the favicon with a new one.
3. Refresh the page. Old favicon still shown instead of new.

...lets go a step or two further...

4. Open places.sqlite with your favorite SQLite editor (the SQLite Manager addon for example).
5. Empty (*not drop*) the moz_favicons table (in the SQLite Manager addon it is right-click on the table listed to the left -> "Empty Table" - Yes).
6. Close firefox.
7. Start firefox and visit the page. Old favicon is still there instead of the new one.

Workaround:

8. Find out the exact URL of the favicon (usually http://you.site.net/favicon.ico) and visit it on a new tab.
9. Now refresh the first tab with the page we were using to test this and see magic happen ;)
Status: UNCONFIRMED → NEW
Ever confirmed: true
...mind you, I have tested this on an actual website I own. Didn't try it with a local webpage/favicon
I actually was editing a local website when I ran into this issue.

Also on finding the favicon's URL, you can look through the header of the page's source code for a link with the "rel" attribute filled with "shortcut icon", like:
<link rel="shortcut icon" href="favicon.ico">

For example on this page, the line that denotes the favicon is:
<link rel="shortcut icon" href="extensions/BMO/web/images/favicon.ico">

Then again you could probably search favicon.ico in the source code to find it too...
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.