Skip to content

[FEATURE] Use a longer than max-cache value for cached packuments #93

@ruyadorno

Description

@ruyadorno

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    R&Dfor exploration purposesfeaturefeature or requestideamaybe bad, maybe good, but definitely a thing to think aboutperfperformance related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions