Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
ProGet not preventing caching of NuGet API requests
- 
					
					
					
					
When sending a request to FindPackagesById(), the response contains a
Cache-Controlheader with a value ofprivate.The MSBuild scripts associated with
dotnet toolare not ignoring the Cache-Control header and in some cases is caching the response to FindPackagesById(). This can cause adotnet tool updatecommand to not recongize newer versions of a tool.The
Cache-Controlheader for any API request should probably return:no-cache, no-store, must-revalidateto ensure that the HTTP client does not cache the response.Product: ProGet
Version: 5.1.15
 - 
					
					
					
					
Thanks for the suggestion. We've filed this as PG-1412 for inclusion in a future maintenance release.