Closed Bug 764768 Opened 12 years ago Closed 5 years ago

[New Tab Page] investigate if thumbnails are stored in the image cache

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ttaubert, Unassigned)

References

Details

(Whiteboard: [Snappy:p3])

We need to investigate whether thumbnails that appear on about:newtab are actually stored in the image cache. There's definitely special handling for chrome:// URLs and http:// work as usual, of course. It's unsure how moz-page-thumb:// URLs are handled.
The moz-page-thumb:// protocol returns a nsFileChannel instance so that we don't need to implement our own protocol. Is this a problem? I don't see any caching in the file channel itself...

http://dxr.lanedo.com/mozilla-central/browser/components/thumbnails/PageThumbsProtocol.js.html#l74
joe/jeff, can you guys offer any advice about how the image cache works?
Every image is cached, at least initially. Chrome (defined as chrome:// and res:// URIs) and non-chrome are stored separately. Any image that's currently in use will always be available in the cache, meaning that a subsequent request will not need to re-decode it.

The image cache is memory-only.
Whiteboard: [Snappy] → [Snappy:p3]
Mass-move to Firefox::New Tab Page.

Filter on new-tab-page-component.
Component: Tabbed Browser → New Tab Page
See bug #1162953 for some evidence that they're not.

Hello!

This bug has been closed due to inactivity and/or the potential for this bug to no longer be an issue with the new Discovery Stream-powered New Tab experience.

Please help us triage by reopening if this issue still persists and should be addressed.

Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.