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-Control
header with a value ofprivate
.The MSBuild scripts associated with
dotnet tool
are not ignoring the Cache-Control header and in some cases is caching the response to FindPackagesById(). This can cause adotnet tool update
command to not recongize newer versions of a tool.The
Cache-Control
header for any API request should probably return:no-cache, no-store, must-revalidate
to 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.