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

Re: Huge cache dirs in $HOME



On Wed, 14 Mar 2007, Bernhard R. Link wrote:
> * Pierre THIERRY <nowhere.man@levallois.eu.org> [070314 07:51]:
> > I just discovered today that some packages can store pretty huge cache
> > data in my $HOME, and found that rather problematic. When I backup my
> > home, I don't want to waste backup space or time to do it, because I
> > have to check what eats space and tell if it's cache data.
> 
> In my eyes no program at all should store caches in $HOME. There is
> $TMPDIR for that. Even small files can be a big problem, if you have
> several hundred users.

Cache files which need to persist beyond the lifetime of a program
can't be sanely stored in TMPDIR.[1] Since the user is running it,
HOME is the most appropriate location for this type of cache, although
it should be configurable if your idea of appropriateness differs.


Don Armstrong

1: Or at least, not directly stored in TMPDIR without a symlink or a
database somewhere.
-- 
I'd sign up in a hot second for any cellular company whose motto was:
"We're less horrible than a root canal with a cold chisel."
 -- Cory Doctorow

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: