Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the path to Chrome cache on Ubuntu?

I want to be able to clear cache (both browser's own cache and possible offline cache manifests) through the command line.

like image 975
Matt Welander Avatar asked Mar 10 '15 20:03

Matt Welander


Video Answer


1 Answers

Chrome Cache located into Path:

$HOME/.cache/google-chrome/Default/

To delete Web browsing Cache:

rm -rf $HOME/.cache/google-chrome/Default/Cache/

To delete video and Music (Media) cache:

rm -rf $HOME/.cache/google-chrome/Default/Media\ Cache/

Also there another cache Folder under Profile 2 Folder:

rm -rf $HOME/.cache/google-chrome/Profile\ 2/Cache/

Notice: Do not remove all (Folder, Files) under google-chrome Folder like this

rm -rf $HOME/.cache/google-chrome/

Just remove files under Folder and keep Folder Empty.

like image 135
ahmed hamdy Avatar answered Oct 12 '22 08:10

ahmed hamdy