Skip to content

Rename no-cache to no-http-cache #9180

@nkolev92

Description

@nkolev92

Across all the tooling, dotnet.exe/nuget.exe/msbuild.exe, we have a --no-cache, -NoCache, RestoreNoCache switch to turn off our http cache caching, which includes a few things:

  • Caching the resources (thing caching repository signatures, servide index)
  • Caching the versions list
  • Caching the nupkgs

This whole experience is rather confusing. A lot of .NET Customers think of the global packages folder as a cache and they expect RestoreNoCache to exclude the global packages folder. In reality this is a nuget http cache and should be clearly indicated as such.

Related to #3116.

cc @aortiz-msft @NuGet/nuget-client

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions