How can I cache all pages I visit with Firefox?

7

1

Q: How can I cache all pages I visit in a given session with Firefox?

I frequently go to study with my laptop at a library where I don't have internet access (no login). I usually research somethings in the internet the day before and I wanted to make Firefox cache all data from the webpages so that when I'm at the library I can go back to something I read on the internet.

I have these config settings:

browser.cache.check_doc_frequency;3  
browser.cache.disk.capacity;500000  
browser.cache.disk.enable;true  
browser.cache.disk_cache_ssl;true  
browser.cache.frecency_experiment;4  
browser.cache.memory.enable;true (should I set this to false?)  
browser.cache.offline.capacity;512000  
browser.cache.offline.enable;true  
browser.cache.disk_cache_ssl;true 

Even clearing all my cache before, some elements, like images, for some reason are sometimes not stored in the cache, even though they display fine on the tab when the page loads. But if I reload the page, they are stored.

There's an Addon called Session Manager that allows me to save the current session. But it would be best if I could save the whole history, because sometimes I forget to store some page I read that turns out to be important. That's why I want to cache everything (disk space is not a problem), so that in "offline mode" I can go back to them in Firefox.

There are related questions, but they don't provide my solution:
Auto save all visited pages in Firefox
Browse local copies of websites when possible (Firefox with slow internet connection)
Browsing cached pages with no internet connection

Thanks!

flen

Posted 2016-10-28T08:36:53.243

Reputation: 277

Why don't the linked questions answer your question? – Arjan – 2016-10-28T08:38:16.683

Try Zotero, it's also a good archive and research tool.

– Atzmon – 2016-10-28T09:11:40.680

@Arjan because they don't reach a solution of caching everything, the solutions are different Addons (that may no longer be supported) etc. – flen – 2016-10-28T09:17:42.760

I'll have a look at Zotero, thanks @Atzmon ! – flen – 2016-10-28T09:17:55.353

It is not capturing everything, so it may not be what you are looking for, but you could also use a note taking application, e.g., Evernote or onenote. It is very easy to safe webpages in such programs, and you get to search in your notes to boot. – sander123 – 2016-10-28T12:48:51.597

Would installing a proxy server (like Squid) on your pc be an option for you? See this answer.

– agtoever – 2016-10-30T17:20:25.887

@agtoever thanks for the suggestion, but, like the OP from that thread, I think it's overkill to use Squid just for that (besides, it might not work, because some headers prohibit that cacheing to a proxy - even though this might be a rare problem for me). It seems difficult and would take me a long time to learn it – flen – 2016-10-30T20:40:28.057

@sander123 I think you're right, like Atzmon said with Zotero. From the options I saw, I think I prefer Scrapbook X to Zotero or Evernote. My only problem is that quite often I forget to bookmark/save something important and I have to go back to the page where I saw it. But with no internet it's not possible. So if I could save my whole browsing history for that session, that would be best – flen – 2016-10-30T20:44:51.397

Answers

3

You might not be able to store (cache) every page you visited automatically. But you can save any webpage completely (with CSS, images, etc.) into a single HTML file that can be opened in any browser. This is similar to the MHTML feature in chromium browsers (Google Chrome, Opera, etc).

Addons
01: SingleFile | Save a page as a single HTML file by gildas
02: Save Page WE by DW-dev

Sample Screenshot of this webpage using SingleFile addon

Screenshot

Update...

There is a feature in SingleFile Firefox add-on that will let you automatically save every page you visit.

Screenshot of SingleFile Autosave feature

DxTx

Posted 2016-10-28T08:36:53.243

Reputation: 762

1Thanks for the suggestion! The problem is that I was searching for a way to do this automatically, saving the session so that I could go back to each site (without needing to manually saving everything). Nowadays I don't go to this library anymore, I mostly study at home, but maybe the question can be useful for someone else – flen – 2019-03-16T18:45:27.870

That's my hope as well. :) – DxTx – 2019-03-16T19:01:58.360

1@flen there is now an auto-save add-on, have you tried it? – Herman Toothrot – 2020-02-17T12:22:11.270

This question is 3 years old and isn't relevant to me anymore, so I won't try the solution, but I'm accepting it as answer because it seems to solve the problem – flen – 2020-02-24T18:27:12.913