about summary refs log tree commit diff
path: root/src/libutil/lru-cache.hh
AgeCommit message (Collapse)AuthorFilesLines
2017-04-06 nix-daemon: Disable path info cacheEelco Dolstra1-3/+5
This is useless because the client also caches path info, and can cause problems for long-running clients like hydra-queue-runner (i.e. it may return cached info about paths that have been garbage-collected).
2016-04-19 Move path info caching from BinaryCacheStore to StoreEelco Dolstra1-0/+6
Caching path info is generally useful. For instance, it speeds up "nix path-info -rS /run/current-system" (i.e. showing the closure sizes of all paths in the closure of the current system) from 5.6s to 0.15s. This also eliminates some APIs like Store::queryDeriver() and Store::queryReferences().
2016-02-24 TypoEelco Dolstra1-2/+2
2016-02-24 Move BinaryCacheStore / LocalBinaryCacheStore from HydraEelco Dolstra1-0/+84
So you can now do: $ NIX_REMOTE=file:///tmp/binary-cache nix-store -qR /nix/store/...