Closed Bug 120466 Opened 23 years ago Closed 14 years ago

favicons are placed into cache with "expire immediately" expiration date

Categories

(Core :: Networking: Cache, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: mozilla-bugs, Unassigned)

References

(Blocks 1 open bug, )

Details

I am finally able to show a concrete example of cache not doing a right thing wrt favicons. Reproducible: always To reproduce: 1) Quit Mozilla 2) Erase the contents of the cache dir 3) Start "mozilla about:blank" (the above steps can probably be replaced with clearing both caches from the Preferences panel, but this feels more reliable) 4) Visit http://slashdot.org/ (note the current time) 5) Go to about:cache and find the entry for http://slashdot.org/favicon.ico in the Memory cache Expected: favicon.ico is present in both Memory cache and Disk cache with some reasonable expiration date. Actual: favicon.ico is present in Memory cache with last modified = expiration = actual time of the http://slashdot.org/ visit. It never makes it into disk cache *at all* I tried changing the setting for "Compare the page in the cache with the page on the network", it does not appear to matter. Note that if I *explicitly* visit http://slashdot.org/favicon.ico, then it gets into disk cache with an expiration date some time in the future and consequently, the favicon in toolbar will survive Mozilla restart *after such an explicit visit*. Other sites seem to have this problem as well.
I am currently using BuildID 2002011021 on RedHat Linux 7.2 P.S. IMHO all this mess with favicons does not belong to 1.0 - it's very visible and gives people bad impression.
Blocks: 113340, 116832, 120351
Keywords: mozilla1.0
Blocks: 120352
No longer blocks: 120351
.
Assignee: gordon → hyatt
QA Contact: tever → claudius
fwiw, the "visit ico explicitly" trick doesn't work for me, at least not for slashdot. Meanwhile, some icons, like the http://www.bbspot.com/ one, get put into the disk cache (expires Jan 28th...) just fine, and I know I never did anything special for that site. On one of my systems, Google's icon gets cached, on others it doesn't. Same with Sluggy Freelance, Wired News, etc. See http://bugzilla.mozilla.org/show_bug.cgi?id=113430#c10 ....
Blocks: 113430
Yes, there seems to be lots of other "random" things going on, hopefully if problems like this bug will get fixed, the rest will look less random and make it easier to fugure out what else is going wrong there... Also, "visiting it explicitly" does not help much if you keep browsing, but if you clear the cache, visit only one icon and then restart, that one icon usually sticks, even for slashdot :-)
:) yeah okay that worked for slashdot. Tried it for several other of my bookmarks, with about 80% success..... *sigh*
No longer blocks: 113340
Hm, this seems to be working better with BuildID 2002011807 on RedHat Linux 7.2
Old Summary: favicons are placed into cache with "expire immediatelly" expiration date New Summary: favicons are placed into cache with "expire immediately" expiration date
Summary: favicons are placed into cache with "expire immediatelly" expiration date → favicons are placed into cache with "expire immediately" expiration date
No longer blocks: 120352
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Blocks: 120352
*** Bug 136014 has been marked as a duplicate of this bug. ***
hyatt, do you thing your recent commit "Set an infinite expiration for bookmark favicons. Not used by Mozilla (Phoenix only). r=brendan, sr=jag" http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/xpfe/components/bookmarks/src/nsBookmarksService.cpp#1.258 have fixed this bug? P.S. Care to review the "bring back the favicons in Mozilla" patch in bug 143687? TIA!
this WORKSFORME with linux trunk 2005041205 is this still a problem for anyone else?
*** Bug 294646 has been marked as a duplicate of this bug. ***
WORKSFORME - Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 with www.slashdot.org and www.yahoo.com
Given that favicons are now stored in places.sqlite (IIUC), is this bug still an issue?
This was filed against core... is a Firefox-only fix good enough?
Probably not, I hadn't realised that the favicon service isn't shared with SeaMonkey, so it could still be a problem. Could someone test a recent SeaMonkey build?
QA Contact: cmaximus → networking.cache
Assignee: hyatt → nobody
This is a mass change. Every comment has "assigned-to-new" in it. I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
SeaMonkey 2.1 uses the favicon service.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.