The Firefox web browser will save visited websites for a minimum of 90 days and a maximum of 180 days in the Firefox history by default. The hard limit is set to 40000 websites that are stored in the History which is a lot if you ask me.
When that limit is reached, old history entries will be deleted from the database first. The database is a long list of sites that you have visited in the past. It not only records the sites, but also the date of access. Some users have experienced massive start up problems which some were able to link to the browser's history feature.
Some users, especially those with the Google Toolbar installed, have a huge history database that easily has a size of several hundred Megabytes. A good way of speeding up the Firefox web browser is to limit the history that it records.
Most users know that it is possible to change the minimum days the history is stored in the Firefox options. What only a few know is that there are additional settings in the about:config dialog that make it possible to change the hard limit and the maximum days a website is kept in the history.
To speed up Firefox by limiting the history do the following: Open a new web browser tab and load the page [about:config]. Now filter for the term [browser.history] and locate the following three parameters:
Note: These preferences are not set by default in Firefox anymore and are not used by it. Firefox uses the preference browser.history.maxStateObjectSize mainly to determine the size of the history cache. The value is optimized for the target computer. You can still experiment with it, for instance by reducing its size to see if it helps speed up the start of the browser or when you are working with it.
Reducing both the minimum and maximum values to a lower number can improve the performance of the web browser especially during startup. There are no perfect values which means that the user has to experiment a bit to find the values best suited for the browsing situation. Suggested values are 7,14,28 or 56 days for both settings. Users who want to get rid of the history completely need to use 0 as the value in both parameters.
Restarting the web browser after changing the parameters should get rid of the websites that exceed the maximum that has been set by the user. It might be needed to optimize the SQLite database after the procedure to ensure that the database is not fragmented because of this change.Advertisement
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 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.