How to disable chrome caching on Ubuntu?

I bought SSD drive to my laptop, so I decided to minimize write I/O on my system. The less writing is a good idea even you have a HDD. Your system become faster in this way.

There are some good starting point: https://wiki.debian.org/SSDOptimization http://askubuntu.com/questions/1400/how-do-i-optimize-the-os-for-ssds

The fake solution

But I would have liked to turn off caching on my browser. I use chrome, and there is no any setting in the UI to turn off caching. In the matter of fact the most supposed solution doesn’t work at all. If you turn out the caching on the development tools it just turn off caching while development toolbox is open. But I wanted to find a real solution.

The real solution

Edit /usr/share/gnome-control-center/default-apps/chromium-browser.xml and put –cache-disk-size=1 argument into command tag: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd"> Chromium chromium-browser chromium-browser --cache-disk-size=1 %s chromium-browser false false <!-- false false -->

When you click on chromium browser icon the cache size will be 1 byte. So the cache is disabled. (0 means no limit)

Jozsef

Read more posts by this author.