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.
How to allow save data of pages and load ones after restart?
-
- Posts: 3
- Joined: September 10th, 2019, 11:29 pm
-
- Posts: 585
- Joined: January 30th, 2019, 9:38 am
Re: How to allow save data of pages and load ones after rest
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.
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.
-
- Posts: 3
- Joined: September 10th, 2019, 11:29 pm
Re: How to allow save data of pages and load ones after rest
Many thanks for your answer! This did not solve completely my problem, but I would hope it got better!)
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: How to allow save data of pages and load ones after rest
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.
https://developer.mozilla.org/
Or get any decent offline grabber. most of them are not free.
-
- Posts: 3
- Joined: September 10th, 2019, 11:29 pm
Re: How to allow save data of pages and load ones after rest
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
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