Firefox and Chrome Data Cache

From CISE IT WIKI
Jump to: navigation, search

Chrome's Application Cache

When you use a Web app like Google Drive, Gmail, or YouTube, Chrome saves some of the app's data and JavasScript code to your hard disk.

The data in this cache helps speed up the function of the HTML5 Web apps you use or helps enable them to run off-line.

Delete cache using Chrome

  1. In the top-right corner of Chrome, click the Chrome menu.
  2. Select More tools > Clear browsing data.
  3. In the dialog that appears, select the checkboxes for the types of information that you want to remove.
  4. Use the menu at the top to select the amount of data that you want to delete. Select beginning of time to delete everything.
  5. Click Clear browsing data.

How to Delete Chrome's Cache in Linux

Chrome's cached website data is stored in your Home directory, but is hidden from sight within the .cache/google-chrome/ Default folder.

This folder also contains another cache where multimedia files are temporarily stored.

You can explore both cache locations using Ubuntu's Files application. Launch Files and then press "Ctl-H" to make all hidden folders visible.

Click "Home | .cache | google-chrome | Default | Cache” to view the website data cache.

The full path for the browser cache is: /home/$USER/.cache/google-chrome/Default/Cache Multimedia files are kept in in the following folder: /home/$USER/.cache/google-chrome/Default/Media Cache.

The term "$USER" is a system variable that contains your user name. For example, if your user name is "linuxmaven," the location of the cache is: /home/linuxmaven/.cache/google-chrome/Default/Cache.

It is safe to delete this file manually in case Chrome is unresponsive.

Firefox Application Cache

The Firefox cache temporarily stores images, scripts, and other parts of websites you visit in order to speed up your browsing experience.

Clear Cache using Firefox

  1. Click the menu button New Fx Menu and choose Preferences
  2. Select the Advanced panel.
  3. Click on the Network tab.
  4. In the Cached Web Content section, click Clear Now.
  5. Close the about:preferences page. Any changes you've made will automatically be saved.

Clear Firefox cache using Ubuntu

To clean all the cache using the terminal, you can use:

rm ~/.mozilla/firefox/*.default/*.sqlite ~/.mozilla/firefox/*default/sessionstore.js

rm -r ~/.cache/mozilla/firefox/*.default/*