Open Bug 1789588 Opened 5 months ago Updated 3 months ago

Reader mode re-downloads images from articles rendered into reader mode

Categories

(Toolkit :: Reader Mode, defect, P3)

Firefox 104
Desktop
All
defect

Tracking

()

UNCONFIRMED

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?

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.

Component: Untriaged → Reader Mode
Product: Firefox → Toolkit
Type: enhancement → defect

The severity field is not set for this bug.
:Gijs, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gijskruitbosch+bugs)

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.

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(emailsaddres)
Summary: firefox reader view has separate cache? → Reader mode re-downloads pictures
OS: Unspecified → All
Hardware: Unspecified → Desktop
Summary: Reader mode re-downloads pictures → Reader mode re-downloads images from articles rendered into reader mode

(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 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.

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.

Flags: needinfo?(emailsaddres)

(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.

Flags: needinfo?(emailsaddres)
Flags: needinfo?(emailsaddres)
Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.