MozillaZine

How to allow save data of pages and load ones after restart?

User Help for Mozilla Firefox
Alexander3XL
 
Posts: 3
Joined: September 10th, 2019, 11:29 pm

Post Posted September 10th, 2019, 11:41 pm

Hello!
I want all the pages (tabs) to open from the cache immediately after launching the browser, without reloading them. How to do it?
Currently, a small number of sites remain open (for example, if you turn off the Internet and start the browser).
Thank you.

kerft
 
Posts: 513
Joined: January 30th, 2019, 9:38 am

Post Posted September 11th, 2019, 6:00 am

I don't know a way to make pages more likely to load from cache instead of internet. Maybe setting browser.cache.check_doc_frequency to 2. http://kb.mozillazine.org/Browser.cache ... _frequency
To have all saved session pages reload at once instead of when you click them, go to URL about:config, set browser.sessionstore.restore_on_demand to false and browser.sessionstore.restore_tabs_lazily to false. The browser may freeze while it is loading all tabs but it should unfreeze when it is done.

Alexander3XL
 
Posts: 3
Joined: September 10th, 2019, 11:29 pm

Post Posted September 12th, 2019, 4:32 am

Many thanks for your answer! This did not solve completely my problem, but I would hope it got better!)

Brummelchen
 
Posts: 4616
Joined: March 19th, 2005, 10:51 am

Post Posted September 12th, 2019, 7:29 am

create a service worker with cache first then net, or net then cache. you can find example code on MDN
https://developer.mozilla.org/

Or get any decent offline grabber. most of them are not free.

Alexander3XL
 
Posts: 3
Joined: September 10th, 2019, 11:29 pm

Post Posted September 12th, 2019, 8:01 am

Hello Brummelchen!
I use plugin "Save Page WE" as offline grabber. How can I make the browser itself held pages? Are there ready-made solutions based on "a service worker"? Ideally, it would be good to extend this functionality to the mobile Firefox.
It is very convenient after starting the browser to see open pages without waiting for them to refresh, especially if a connection is slow and the pages are large.
For example, a page that does not want to open after restarting the browser if there is no connection. https://wiki.st.com/stm32mpu/wiki/SDK_f ... stribution

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 9 guests