The default bug view has changed. See this FAQ.

[Page Thumbnails] Cached images are discarded way too easily

RESOLVED FIXED in Firefox 12

Status

()

Firefox
Tabbed Browser
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: ttaubert, Unassigned)

Tracking

13 Branch
Firefox 12
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Thumbnails are currently stored in the file cache. Unfortunately, the file cache gets purged way too often (crash, force-quit, clear history [on shutdown], cache full). We need a way to pin special items (like our thumbnails) in the cache so that they don't get lost that easily.
(Reporter)

Updated

5 years ago
Blocks: 497543
Target Milestone: --- → Firefox 12
Version: Trunk → 13 Branch
Juts want to add another case in favour of this: the cache is cleared with a clean profile after the first restart on Windows, thus all thumbnails from sites visited in the first run will be blank after the first restart.
(Reporter)

Updated

5 years ago
Duplicate of this bug: 736709
Depends on: 105843
Duplicate of this bug: 738120
(In reply to Tim Taubert [:ttaubert] from comment #0)
> Thumbnails are currently stored in the file cache. Unfortunately, the file
> cache gets purged way too often (crash, force-quit, clear history [on
> shutdown], cache full). We need a way to pin special items (like our
> thumbnails) in the cache so that they don't get lost that easily.

I highly recommend that you do not store these in the cache to start with. 

Realistically, there are always going to be times when we clear the disk cache due to one kind of crash or another. We (the networking team) are going to greatly reduce the frequency of these events. But, even that reduction is more than a quarter away. If you need a solution for this problem in Q2 then you should move the storage of the thumbnails elsewhere. If you can wait until Q3 then coordinate with Michal and Nick to see if they can promise a solution in Q3.

See also bug 738128.
(Reporter)

Comment 5

5 years ago
(In reply to Brian Smith (:bsmith) from comment #4)
> (In reply to Tim Taubert [:ttaubert] from comment #0)
> > Thumbnails are currently stored in the file cache. Unfortunately, the file
> > cache gets purged way too often (crash, force-quit, clear history [on
> > shutdown], cache full). We need a way to pin special items (like our
> > thumbnails) in the cache so that they don't get lost that easily.
> 
> I highly recommend that you do not store these in the cache to start with.

Thank you for your advice. We're going to build a custom thumbnail storage in the near future that won't use the file cache.
(Reporter)

Comment 6

5 years ago
Will be fixed by bug 744388.
Depends on: 744388
(Reporter)

Comment 7

5 years ago
Fixed by bug 744388.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Since this is fixed, probably no longer deps on bug 105843.
No longer depends on: 105843
You need to log in before you can comment on or make changes to this bug.