I want clean up cache file or row data which is created by the Google chrome during playing video's form youtube as well as other site task. During cleanup I want to protect my history and cookies.

Where does Google chrome store cache data in Linux?

Is it possible that we manually delete cache files of Google chrome? But during delete that files we at least save our browsers history.

Note:- I am using standard account privilege.

  • Why wouldn't you just use Chrome's "Delete" functions to achieve this? Is there a reason you don't want to use that deletion function which lets you select what to destroy? – Thomas Ward May 26 '15 at 13:39
  • 1
    All cache is saved under ~/.cache/google-chrome – Sharad Gautam May 26 '15 at 13:41
  • @ThomasW. if I use chrome://settings/ or chrome://history/ there is options for clear history but not for junk files. I want protect my browsers history for quick remember or access files. – Madhav Nikam May 26 '15 at 13:48
  • Better use incognito mode. This is what chrome will tell you if you use it's delete history feature... – solsTiCe May 26 '15 at 15:46
up vote 6 down vote accepted

Normally Google Chrome save this temporary files inside:

~/.cache/google-chrome/[profile]/Cache/

and

~/.config/google-chrome/[profile]/Application Cache/Cache/

And yes you can delete these manually and you don't need any permission.

So just take a look at these dirs and choose what to delete

Another interesting directory is

~/.config/google-chrome/Default

Here you find your history , bookmarks , extensions, ....

so choose carefuly what do you want to purge


UPDATE:

The bookmark is not really a directory it's just a file. The path to this file is:

~/.config/google-chrome/Default/Bookmarks

The history also is not a file, it's some sqlite3 database file under this path

~/.config/google-chrome/Default/History

A simple tip:

nautilus ~/.config/google-chrome/Default 

will open the directory so just take some time and check all of files found there, you can easily know what to keep or what to delete

  • Your ans is very useful for deleting media cache which are not generally clear by browser. – Madhav Nikam May 26 '15 at 14:09
  • Can You provide exact which folder should not delete for protect 1) History and 2) Book Marks. then Your answers is perfect and Ultimate. – Madhav Nikam May 26 '15 at 14:44
  • I'll edit my answer wait me a second – Maythux May 26 '15 at 14:45

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.