NuGet "Restoring build cache" is slowing my build down, went from 4 to 7 minutes

dinesh.bolkensteyn's Avatar

dinesh.bolkensteyn

30 Jul, 2015 07:13 AM

I faced lots of issues with NuGet restore recently, and so enabled the cache as suggested on http://www.appveyor.com/docs/nuget#dealing-with-intermittent-nuget-org-issues

This fixed the NuGet stability issues, but is slowing very build down by about 3 minutes: Previously the whole build was just taking about 4.

Is there anything that can be done to speed this up?

The NuGet packages that I cache should just be a couple megabytes, and the time to upload/download them to some cache should not require more than a few seconds.

See
  https://ci.appveyor.com/project/dbolkensteyn/sonarlint-vs/history
  https://github.com/SonarSource/sonarlint-vs/blob/master/appveyor.yml

  1. Support Staff 1 Posted by Feodor Fitsner on 30 Jul, 2015 04:46 PM

    Feodor Fitsner's Avatar

    We are working on cache speed improvements. We've been hoping to start testing it this week, but it took a bit longer than expected.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac