Google Chrome and Firefox cache in Ubuntu?

Where can I find the cache used by Google Chrome and Firefox in Ubuntu?


Google Chrome

  • Config path: ~/.config/google-chrome
  • Cache: ~/.cache/google-chrome

The location has changed in recent versions of Firefox.

  • Firefox before 21:

    ~/.mozilla/firefox/[profile]/Cache
    
  • For Firefox 21 or later, The location has moved to:

    ~/.cache/mozilla/firefox/[profile]/Cache
    

Where [profile] is like a_random_string.default (any folder name which ends in .default, if you are using the default profile, separate profiles can have different folder names).

See bug report which brings the change: Bug 239254 - [Linux] Support disk cache on a local path


Normally in Ubuntu the cache folder for Firefox is located in:

~/.mozilla/firefox/<profile>/Cache

<profile> = a_random_string.default (any folder name which ends in .default, if you are using default profile, separate profile can have different folder names).