Bug 276466

Summary: kdecache should use ~/.cache/kdecache/ instead of /var/tmp/kdecache-$USER
Product: [I don't know] kde Reporter: g111
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 4.6   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description g111 2011-06-25 13:34:58 UTC
Version:           4.6 (using KDE 4.6.4) 
OS:                Linux

It would be great if KDE would use the ~/.cache/ e.g. ~/.cache/kdecache directory for caching data instead of writing to /var/tmp/kdecache-$USER. The freedesktop guidline recommends this directory for cache data: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

IMHO there are some good reasons to do this:
1) If all software would use this directory for personal cache data, it would be more simple (and obvious) to exclude all of this data out of backups.

2) If you have the system partition (including /var) installed on a SSD it would save unnecessary write operations on this SSD.

3) Deleting a user's home directory removes all his temporary data, too. Moving his home directory to another server keeps the cached data automatically in place.

Thanks,
Gert

Reproducible: Always



Expected Results:  
Use ~/.cache to store cache data in.
Comment 1 Christoph Feck 2011-06-25 13:46:05 UTC

*** This bug has been marked as a duplicate of bug 272217 ***