Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NuGet Server With Caching

I have a build server that pulls nuget packages on every build, and currently have a NugetGallery deployed internally for custom packages. Right now that eats bandwidth like no tomorrow (not a huge deal, but I want to be kind and make things faster for us).

So I want to auto-mirror repos and cache them.

So far I have a few options: MyGet, which is a cloud-only offering (so no), and Proget (which I'm leaning towards). Are there any other options for auto-mirroring I'm missing?

like image 414
StrangeWill Avatar asked Jan 26 '15 18:01

StrangeWill


People also ask

Are NuGet packages cached?

NuGet 3.5 and earlier uses packages-cache instead of the http-cache, which is located in %localappdata%\NuGet\Cache . By using the cache and global-packages folders, NuGet generally avoids downloading packages that already exist on the computer, improving the performance of install, update, and restore operations.

What is Apikey NuGet?

The API key acts as an alias for the user account, so the same API key is used for all NuGet repositories within the repository manager.

Where are Nugets stored?

Figure 1: NuGet Packages are installed in the packages folder located in a solution's root directory.

Can I delete NuGet v3 cache?

Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings menu. Click Clear All NuGet Cache(s) button in options dialog then clearing process is started. Once NuGet cache location is cleared, click ok button.


1 Answers

Klondike is an open-source NuGet package manager that you can deploy privately to your own servers.

like image 154
Chris Eldredge Avatar answered Sep 20 '22 07:09

Chris Eldredge