12 December 2015

Disable disk cache on chromium, for all users.


I am tired of seeing Chromium writing to disk ...

And I don't want to edit the launchers to add parameters.


So, you can go to the root of the issue, which is the parameters given to chromium no matter the user calling for it.

In my case (Debian Linux):

1. Open as root
# leafpad /etc/chromium.d/default-flags &

2. Add this line or edit it if it already exists
CHROMIUM_FLAGS=" --disk-cache-dir=/dev/nullĀ  --media-cache-dir=/dev/nullĀ  ";

3. Save & close.

4. Rename or delete the folder
/home/<user>/.cache/chromium/

5. Test
Open chromium. That folder should be created again, but it should keep it's size to null.

I also noticed chromium works snappier/faster.


Hope it helps.

0 Comments:

Post a Comment

<< Home

Too Cool for Internet Explorer