Ask A Question

View Question

When sending a request to FindPackagesById(), the response contains a Cache-Control header with a value of private.

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 a dotnet 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.

Answer Question