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.memory.enable;true (should I set this to false?)  

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


  • Why don't the linked questions answer your question?
    – Arjan
    Commented Oct 28, 2016 at 8:38
  • Try Zotero, it's also a good archive and research tool.
    – Atzmon
    Commented Oct 28, 2016 at 9:11
  • 1
    @Arjan because they don't reach a solution of caching everything, the solutions are different Addons (that may no longer be supported) etc.
    – flen
    Commented Oct 28, 2016 at 9:17
  • 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
    Commented Oct 28, 2016 at 12:48
  • Would installing a proxy server (like Squid) on your pc be an option for you? See this answer.
    – agtoever
    Commented Oct 30, 2016 at 17:20

1 Answer 1


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

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



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

Screenshot of SingleFile Autosave feature

  • 1
    Thanks 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
    Commented Mar 16, 2019 at 18:45
  • That's my hope as well. :)
    – DxTx
    Commented Mar 16, 2019 at 19:01
  • 1
    @flen there is now an auto-save add-on, have you tried it? Commented Feb 17, 2020 at 12:22
  • 1
    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
    Commented Feb 24, 2020 at 18:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .