Closed Bug 316937 Opened 19 years ago Closed 19 years ago

Keep favicons in a separate cache so you don't lose them on crash

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

Details

(Keywords: verified1.8)

Attachments

(1 file)

Currently, Mozilla clears the disk cache when you launch after crashing (bug 105843). This also happen when you switch between running a branch and a trunk build.

This means that you lose all your favicons in these situations, which is a PITA. I think we should store favicons in a separate cache.
I already landed SiteIconCache.h/mm, which stores the images with UUID-filenames in ~/Library/Caches/Camino/IconCache, and a plist which maps from favicon URL to UUID. All we need to do is hook this into SiteIconProvider.
Status: NEW → ASSIGNED
This patch turns on the site icon cache. I'm going to check this into the trunk to get some testing.
Blocks: 304001
Checked in on branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
v on trunk and branch.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8verified1.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: