-
Notifications
You must be signed in to change notification settings - Fork 25
[FEATURE] Use a longer than max-cache value for cached packuments #93
Description
Currently, the maximum cache value defined by the registry (under a minute? note: pending confirmation of the actual value) for packuments makes it impossible for actual human users of the cli to benefit from that caching in order to speed up further installs.
Even more sneaky is that benchmarks are perfectly capable of benefiting from that since they're going to be running within that very limited time frame, skewing our vision of the performance of the current implementation.
We should define an arbitrary time to invalidate packument entries in our cache, long-enough for users to be able to benefit from it. That probably means we'll also need an option to manually invalidate entries but the default install experience should be able to benefit from that larger window of time in order to maximize the number of packuments retrieved from our internal cache.