[Chromium] Images cache partitioning doesn't work while a 3p renderer is alive
See original GitHub issueLooks like images are cached in the renderer and don’t know anything about NIK areas. If we navigate the renderer away (for ex. to example.com
to effectively destroy/clear cache) then the image is not found in the cache and refetched properly.
See https://privacytests.org/ image cache
test.
Need to figure out how/if blink caches some simple blobs and make sure it supports NetworkIsolationKey-based partitioning there.
Blink indeed have MemoryCache, but it doesn’t support partitioning out of the box. There is an open issue to implement this, but no signs of activity https://bugs.chromium.org/p/chromium/issues/detail?id=1127971.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Chrome doesn't cache images/js/css - Stack Overflow
I have set all cache control headers, etc. but chrome never refreshes this images when navigation through anchor. IE and FF works as...
Read more >Question about Chrome image caching - Google Groups
I have a question about how chrome caches images. ... So I suspect the lag is while loading image from HDD and pushing...
Read more >We should only cache the last decoded frame of gif animations
Caching is not as costly with impl-side painting and discardable memory but it's not clear if that justifies a change in gif animation...
Read more >chrome/browser/flag_descriptions.cc - chromium/src - Git at Google
"Enables closed tab cache to instantaneously restore recently closed tabs. " "NOTE: This feature is higly experimental and will lead to various "....
Read more >Chrome 90 Bug Causes Incorrect Download | Antradar Blog
A cache partitioning bug likely caused Chrome 90 and other Chromium ... Normally, when a web page displays an image, or an embedded...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
--enable-features=PartitionBlinkMemoryCache
For QA: nothing should be changed visually, but internal blink memory cache should behave differently for 3p frames. Can we please check the usual browser behavior regarding 3p frames and any frames in general hasn’t changed and everything works as it should? The test plan will look like this:
PartitionBlinkMemoryCache
feature via command line.We’d like to have a QA approve for a general sanity so we can enable this in nightly.