The Firefox web browser saves active session data every fifteen seconds by default.
This means that you will never lose more than what you have done in the past fifteen seconds when Firefox crashes or closes unexpectedly.It can be useful to recover a comment that you were just writing or a blog article on a site like mine.
While some of those services may offer their own recovery options in case of a crash or unexpected closing of the browser tab, it is good to have a browser failsafe as well.While ten seconds works for most users, some may want to change the session store interval in Firefox, for instance to make sure that they lose less when the browser crashes by reducing it or by increasing the time between session stores to reduce the impact the feature has on browser performance.
The parameter that allows you to change the Firefox session store interval is available on the browser's about:config page.
The interval is set to milliseconds which is a bit uncomfortable as you have to convert that value to seconds to better understand it. So, divide the number by 1000 to get it in seconds, and if you have number in seconds, multiply it by 1000 to get the value that you need to enter as the new value.
5000 for instance means that sessions are saved every 5 seconds while 30000 would mean that they are only stored every 30 seconds.
Double-click on the preference name to change its value. You can also right-click on the row and select the modify option to change it. There you also find the reset option which comes in handy if you want to restore the default value.
You may need to experiment with values to find the best one for your work situation. If Firefox crashes rarely, you may want to change the interval to 30 or even 60 seconds instead as it may improve resource usage.If the browser crashes often, you may want to reduce the session store interval to ten or even five seconds instead.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.