[DCR]: Nuget updates need to be much faster #11586
Labels
Area:HttpCaching
http caching by all tools
Area:HttpCommunication
Functionality:VisualStudioUI
Priority:2
Issues for the current backlog.
Tenet:Performance
Performance issues
Type:DCR
Design Change Request
NuGet Product(s) Affected
Visual Studio Package Management UI
Current Behavior
When you use the update functionality for nuget, the UI makes hundreds and hundreds of web calls to api.nuget.org which can take 10 seconds+ just to bring up the page. If you choose something to update and click install, it can take another 10 seconds+ to work out what it is going to install. Once it has installed (which is relatively quick usually), it then reloads the page by making hundreds more requests.
Rinse and repeat, especially if things fail for dependency reasons and it can easily take an hour just to update a handful of libraries in a project with around 100 nuget dependencies. (This is netfx)
Moving between tabs, it reloads everything again.
Desired Behavior
This behaviour should be massively cached. Existing versions of nugets are very unlikely to change so the data can be cached locally on the machine. It should not reload when moving between tabs, if it has already worked out what updates are available, then moving to the updates tab should be instant.
Additional Context
No response
The text was updated successfully, but these errors were encountered: