Firefox:- Usage – Clear Cache on Exit


Browsers eat up a quite a bit of resources such as CPU, Memory, and disk.

As we open up new windows and tabs, resource usage continue to tick up.

Once we exit our browsers, CPU usage terminates.

Memory usage screeches to a halt.

On the other hand, data cached to disk remains.



In this post, we will touch on how to selectively remove specific categories of data from disk upon exiting our browser.



  1. Access the Menu Button ( )
  2. Select the “Privacy & Security” panel ( about:preferences#privacy ) and go to the History section
  3. In the History groupbox
    • In the “Firefox will” dropdown, choose “Use custom settings for history”
    • For the “Clear history when Firefox closes” checkbox, fill the checkbox
    • Access the “settings” button
  4. In the “Settings for clearing history” window
    • In the History section
      • Browsing & Download History
      • Cookies
      • Active Logins
      • Cache
      • Form & Search History
    • In the Data section
      • Site Preferences
      • Offline Website Data


Settings – Privacy & Security

Section – History

Item Description Check
Browsing & Download History Browsing history is a list of sites you visited.
Download history is a list of the files you downloaded.
Cookies Websites stores data such as choices and session data
Active Logins Upon successfully login to websites, website can persists information locally to ensure that the user does not have to login again the next time the user accesses that same website
Cache Stores temporal files such as compiled code, images to ensure a smoother usage
Form & Search History Form History contain information entered into online forms
Search History contain data entered into the URL bar


Section – Data

Item Description Check
Site Settings Site Specific settings is information stored by the browser based on usage and customization choices made by the user.
Site Specific Settings will include pop-up blocker exception configured for specific sites.
Offline website Data Websites that allow offline usage will store application, data, and session information within offline website data




Private & Security – History


Private & Security – Settings for Clearing History



Firefox – Version

This documentation was written against version 108.0.1



  1. Clio
    • Help Center
      • How To Set Firefox To Automatically Clear Browsing Cache Upon Closing
  2. Lifewire
    • How to Clear Private Data in Mozilla Firefox
      It’s easy to remove all or some of your browsing history
      By Heinz Tschabitscher, Updated on February 12, 2021

One thought on “Firefox:- Usage – Clear Cache on Exit

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s