Reader mode re-downloads images from articles rendered into reader mode
Categories
(Toolkit :: Reader Mode, defect, P3)
Tracking
()
People
(Reporter: emailsaddres, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
I open any webpage with pictures. wait for it to load pictures.
use reader view button in address bar.
Actual results:
the page opens in article view but pictures are downloaded again from scratch.
Expected results:
the page opens in article view and pictures should be gotten from cache.
when I use "forgot about this site" in firefox history (which I think removes the cache too?) for the original web url the reader view cache is not gone.
is this because of domain separation security feature?
if so then it is basically impossible to share cache between a domain and that domain in reader view ,right?
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Reader Mode' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•5 months ago
|
Comment 2•4 months ago
|
||
The severity field is not set for this bug.
:Gijs, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•4 months ago
|
||
Can you provide an example page where you see this, please?
It's difficult to answer the question of what's happening here generically. I just tried a BBC article, for instance, and there the main webpage shows a webp
image but reader mode gets jpg
, presumably because of the reader mode algorithm filtering lazy/srcset images in a particular way and ending up with a non-identical image source (though visually of course the images are almost the same) - not anything to do with caching. It's quite possible that you are seeing a case that's to do with caching, but the first step to confirming that (or why specifically it's happening) would be to get a reproducible specific testcase to work with.
Updated•4 months ago
|
Reporter | ||
Comment 4•4 months ago
|
||
(In reply to :Gijs (back Fri Oct 7; he/him) from comment #3)
Can you provide an example page where you see this, please?
It's difficult to answer the question of what's happening here generically. I just tried a BBC article, for instance, and there the main webpage shows a
webp
image but reader mode getsjpg
, presumably because of the reader mode algorithm filtering lazy/srcset images in a particular way and ending up with a non-identical image source (though visually of course the images are almost the same) - not anything to do with caching. It's quite possible that you are seeing a case that's to do with caching, but the first step to confirming that (or why specifically it's happening) would be to get a reproducible specific testcase to work with.
I see that with any website I try.
my internet is not always fast so I see the images getting downloaded and being displayed in reader mode even though they already have been downloaded before for main page.
Comment 5•4 months ago
|
||
(In reply to emailsaddres from comment #4)
I see that with any website I try.
my internet is not always fast so I see the images getting downloaded and being displayed in reader mode even though they already have been downloaded before for main page.
I understand that, but "any website" is not a useful step to reproduce a problem, unfortunately - as I commented before, I tried with the BBC news website and could not reproduce the problem you were seeing being to do with caching.
Please provide at least one or two example links.
Reporter | ||
Comment 6•4 months ago
|
||
Updated•3 months ago
|
Description
•