NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: reducing laptop storage wear and tear for cache objects



"Hauke Fath (SPG)" <hf%spg.tu-darmstadt.de@localhost> writes:

> On 2024-10-22 09:29, RVP wrote:

>> Assuming /tmp is mounted on a tmpfs, you can just set XDG_CACHE_HOME for 
>> the browser.
>
> Generalizing the concept, you could look at 
> sysutils/p5-Unburden-Home-Dir, which we use here successfully on Arch 
> Linux clients with nfs-mounted home directories.
>

Thanks for the suggestion.

I took a look for what might be the equivalent in raku.

=> https://raku.land/github:azawawi/File::HomeDir .

When using the --profile argument to the firefox browser, I found a
cache2 dir in there that grows over 1Gb, what I do now is put in
/tmp/.$(id -un) the XDG directories for cache and runtime and the
browser profile.

-- 
vl


Home | Main Index | Thread Index | Old Index