Cache expiry time?
-
Perhaps I'm overlooking the obvious, but I can't find any way to control -- or even discover -- the time-to-live setting (AKA expiry time) for cached files.
I want to be able to ensure that the cache is not filling up with old, unwanted content. Oddly, the commands to clear cache and other private data offer the exact opposite, namely to delete recent entries but keep old ones.
As a new user, maybe I've missed how to do this...
-
@john5 I think you need a browser extension. You can make a feature request: just search to make sure it hasn’t been asked for yet, and only one feature per topic.
https://forum.vivaldi.net/category/185/desktop -
@john5 On Linux, use cron to delete ~/.cache/vivaldi
-
Thanks -- in fact I'm already doing that, but thought Vivaldi would provide the feature internally (since it already does the "opposite")!
John
-
@gwen-dragon
Thanks for the response, but I think we're talking about different things, cached files persist for over a week on my system.
Isn't the "300 second" interval something to do with checking back to the server to verify that the original hasn't been modified? If there's been no change, locally cached files are still valid (compared to the server).
John
-
Gwen-dragon... I mean the disk files that Vivaldi stores on my computer. It's a Linux system, so they're in the ~/.cache/vivaldi folder (or subfolders of that).
It's straightforward to set up a cron job to purge old files regularly, as @code3 mentioned, but I hoped Vivaldi could do it automatically.
John
-
OK, thanks. Still a pity, but easy enough to force from outside Vivaldi.
John
-
@john5 Have you tried any of the command line arguments like:
--aggressive-cache-discard
--disk-cache-size
https://peter.sh/experiments/chromium-command-line-switches/
-
@pathduck said in Cache expiry time?:
aggressive-cache-discard
Interesting. I've seen it mentioned elsewhere, but what it actually does seems to be undocumented, though.
-
Ppafflick moved this topic from Desktop on