Cached pages not loading in Offline Mode
Categories
(Core :: Networking: Cache, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox94 | --- | fixed |
People
(Reporter: janakaud+mozilla, Unassigned)
Details
(Whiteboard: [necko-triaged])
User Agent: Firefox
Steps to reproduce:
- Open a desired page: e.g. https://www.mozilla.org/en-US/firefox/channel/desktop/
- Close the browser (complete shutdown).
- Open the browser.
- Enable Offline Mode (File -> Work Offline).
- Try to open the page from step 1.
Additional steps (may not be reproducible, depending on your internet connection latency etc.):
6. Disable Offline Mode.
7. Refresh the page, but immediately stop the reload (e.g. by pressing Esc, ~500ms after the refresh action).
8. Enable Offline Mode.
9. Refresh the page.
Actual results:
5: "Offline Mode" message appears.
9: Cached page copy gets loaded, but only the HTML (no resources, styles, fonts, images etc.)
Expected results:
The page is already cached, so the cached copy - complete with resources - should be loaded in step 5 itself.
Step 9 should load the complete page (resources included), not just the HTML.
Comment 1•4 years ago
|
||
Hi,
I'm not entirely sure if it could have every resource cached if you don't let the page fully load before closing it and going "offline".
If you let the page fully load, it should cache it as expected.
Nevertheless, I'm assigning a component in order to get the development team involved in reviewing this.
Thanks!
| Reporter | ||
Comment 2•4 years ago
|
||
Apologies for the confusion! After step 1, I don't close the browser immediately - I wait until all resources get loaded.
| Reporter | ||
Comment 3•4 years ago
|
||
For the "additional steps", a more reliable way to reproduce would be to
- Disconnect from the internet.
- Disable Offline Mode.
- Refresh the page - you get the "Unable to connect" error page.
- Enable Offline Mode.
- Refresh the page. (Base HTML page loads from cache, but without any resources.)
Updated•4 years ago
|
| Reporter | ||
Comment 4•4 years ago
|
||
[Tracking Requested - why for this release]:
I can confirm this bug is no longer present in 94.0a1 - with experience from a few weeks' use.
Kudos to whoever that fixed it!
(Can't find a 'Fixed' option for the 'resolution' field, so leaving at default selection 'Invalid')
Description
•