-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Labels
Priority:2Issues for the current backlog.Issues for the current backlog.Product:VS.ClientType:Engineeringproduct/infrastructure work/not a customer bug/feature/DCRproduct/infrastructure work/not a customer bug/feature/DCR
Description
The purpose of source cache context is to tell a source where and for how long to cache certain files.
Restore ensures that the caching is shared across the whole operation through https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Core/NuGet.Commands/RestoreCommand/RestoreCommandProviders.cs#L86.
Unfortunately that pattern is not applied everywhere.
This leads to needless allocations and could potentially make things more difficult should we want to change the cache time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority:2Issues for the current backlog.Issues for the current backlog.Product:VS.ClientType:Engineeringproduct/infrastructure work/not a customer bug/feature/DCRproduct/infrastructure work/not a customer bug/feature/DCR
Type
Fields
Give feedbackNo fields configured for issues without a type.