Skip to content

How to disable Vivaldi’s disk cache

I recently changed computer, and in the process I manually migrated some stuff, notably my browsers’ data folders (if you’re looking for them, they’re usually located in C:\Users\[username]\AppData\Local or C:\Users\[username]\AppData\Roaming). To speed up the transfer as those USB keys can be quite slow when dealing with many files, I packed them each in a 7-zip archive. And I noticed Vivaldi’s folder was huge. Like, 1+GB huge 😮

It turned out Vivaldi inherits from a behavior inherent to Chrome and forks, which is to stuff its cache in the same main folder as your profile. Or more specifically in:
C:\Users\Admin\AppData\Local\Vivaldi\User Data\Default\Application Cache and
C:\Users\Admin\AppData\Local\Vivaldi\User Data\Default\Cache

Of course, I didn’t really want to transfer those. So I looked for a way to disable disk cache (I’ve got RAM for fuck sake, use it you stupid damned browsers), then emptied those folders and transfer the profile without the cache.

Sadly, Vivaldi doesn’t provide an easy option to turn off disk cache (comparatively, in Firefox and forks you just need to go to about:config and set browser.cache.disk.enable to false). You need to launch it with the --disk-cache-size=0 command like option. So basically, edit Vivaldi’s shortcut so that the target becomes something like "C:\Program Files\Vivaldi\Application\vivaldi.exe" --disk-cache-size=0. Source is here.

Note that this actually doesn’t totally prevent that annoying browser from junking said cache folders: I usually have about 350 MB of stuff in those folders. Hopefully some day it will be cleaner…

Posted in Chrome/Chromium/Vivaldi, Firefox.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

Sorry about the CAPTCHA that requires JS. If you really don't want to enable JS and still want to comment, you can send me your comment via e-mail and I'll post it for you.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA