GNU bug report logs - #48543
Feature request: put ELN cache in $XDG_CACHE_HOME by default

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Thu, 20 May 2021 17:26:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Andrea Corallo <akrl <at> sdf.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48543 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, cpitclaudel <at> gmail.com
Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default
Date: Wed, 13 Jul 2022 13:40:51 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> > FWIW, I had a quick look through my .cache folder, and it seems that
>>> > chromium and Firefox both put compiled code in that folder (JS
>>> > bytecode and compiled Webassembly files).
>>> 
>>> Since the .eln files are cached data, it seems like the right place to
>>> put them.  Of course the user would like all (non-stale) cached data to
>>> persist.
>>
>> So we prefer to hear more complaints about Emacs being slow to start
>> because the eln-cache was purged?  Don't forget that the XDG
>> directories can disappear without a warning.
>
> This doesn't seem to worry the Chromium etc people, so I don't think it
> should worry us.  

Hi Lars,

thanks for adding me in Cc.

Browser speed is tipically dominated by the internet/web server
bandwidth and it's therfore very variable.  Users will hardly notice if
a page loads slower because the cache was removed and complain, this is
indeed not the case for Emacs as program.

Also given the XDG spec definition I'm not sure this move would be the
right thing.

Best Regards

  Andrea




This bug report was last modified 2 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.