Caching in NuGet.Server

Jan 12, 2011 at 3:02 PM

I'm trying to deploy a internal nuget-repository with hosting packages inside NuGet.Server application.

I've encountered that replacing a package in NuGet.Server application (Packages folder) doesn't affect returning content via dowload Url (like

Obviously the app caches packages. I understand it could be usefull sometimes but not always.

I'd like to have an option to invalidate cache from within Package Manager Console. What puzzles my complete that even restaring AppPool doesn't help to get fresh package from within Package Manager Console. Via download Url in the browser I get reshreshed package but not in Package Manager Console.

I believe it'd be usefull to introduce "package version" attribute. It wouldn't be "product version" which specified in Version attribute but only version of package itself. It could be several different packages with the same product...