The first thing I had to install is Chrome. I recently found that Google Chrome stores old copies of itself after every auto-update, even if the update is very minor, for e.g., from version 188.8.131.52 to 184.108.40.206. Each copy could take up 100-200 MB and several of them could easily add up to say, 1 GB of disk space! These old copies could be safely deleted if you care about the wastage of disk space.
To do so, if you're using Windows, you can simply go to C:\Program Files (x86)\Google Chrome\ (or a similar path) and delete the folders with versions as their names. If you're using Mac, you can go to /Applications/Google Chrome.app/Contents/Versions (if you installed in that location). Well, actually I'm not even sure whether the Mac version of Chrome stores old copies of itself in there. And sorry folks, I don't know the location for the *nix version. :(
Another nuisance for a disk-space-conscious person like me is that Chrome is configured by default to use an unlimited amount of disk space for its cache! Fortunately, you can limit the cache size by adding the command line argument --disk-cache-size=XX in the shortcut to Chrome (in Windows), where XX is the size in MB. In Mac, this is a bit more involved. But fret not, just follow these steps:
- Close all Chrome windows and quit the entire application before you proceed with the steps below.
- Go to /Applications/Google Chrome.app/Contents and open the file Info.plist using a text editor.
- In case you have difficulty in even going to that folder, you'd have to select "Browse Package Contents" after right-clicking on Google Chrome.app (the large Chrome icon) in Applications.
- <string>Google Chrome</string>
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome "$@" --disk-cache-size=50 &