We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I prevent tabs from refreshing when restarting Firefox?

  • 3 replies
  • 4 have this problem
  • 6 views
  • Last reply by cor-el

more options

Hello, I apologise if this question is already answered; I could not find it in the database.

How do I prevent Firefox from automatically refreshing tabs upon starting a new session? Whenever I load Firefox, the tabs from my previous sessions automatically refresh when I navigate to them, I would like to disable this function. I would prefer the tabs to simply load from the cache as if Firefox were in offline mode.

Thank you.

Hello, I apologise if this question is already answered; I could not find it in the database. How do I prevent Firefox from automatically refreshing tabs upon starting a new session? Whenever I load Firefox, the tabs from my previous sessions automatically refresh when I navigate to them, I would like to disable this function. I would prefer the tabs to simply load from the cache as if Firefox were in offline mode. Thank you.

All Replies (3)

more options

You could pin the tabs. I do not think pinned tabs automatically reload. You are obviously aware Firefox may be used in offline mode.

Sounds like you wish for more than just having only the displayed tabs reload. If you want all the tabs not to reload then use about:config to set the pref browser.cache.check_doc_frequency to 3 2

Does that help

See


Edit, oops 3 is the default value Check for a new version when the page is out of date. (Default) 2 is Never check for a new version - always load the page from cache.

Modified by John99

more options

Thank you for your research and your reply!

My browser.cache.check_doc_frequency was already set to 3. After checking the link you provided, I tried changing it to 2 and restarted Firefox but that didn't seem to change anything. Both browser.cache.disk.enable and browser.cache.memory.enable are set to true. I will try pinning my tabs as you suggested, but if you or anyone else has any other advise, I would appreciate it.

Modified by Adamnuisance

more options

Are you clearing the cache when you close Firefox ("Clear history when Firefox closes")?

To see all History and Cookie settings, choose:

  • Edit > Preferences > Privacy > Firefox will: "Use custom settings for history"