Determines the value for the “Cache-control” header in the response.
public enum ResponseCacheLocation
View on GitHub
Microsoft.AspNet.Mvc.
ResponseCacheLocation
Any
Cached in both proxies and client. Sets “Cache-control” header to “public”.
Any = 0
Client
Cached only in the client. Sets “Cache-control” header to “private”.
Client = 1
None
“Cache-control” and “Pragma” headers are set to “no-cache”.
None = 2