HttpCachePolicy
UtcTimestampCreated
VaryByContentEncodings
VaryByHeaders
VaryByParams
AddValidationCallback(HttpCacheValidateHandler, Object)
AppendCacheExtension(String)
GetCacheability()
GetCacheExtensions()
GetETag()
GetETagFromFileDependencies()
GetExpires()
GetIgnoreRangeRequests()
GetLastModifiedFromFileDependencies()
GetMaxAge()
GetNoServerCaching()
GetNoStore()
GetNoTransforms()
GetOmitVaryStar()
GetProxyMaxAge()
GetRevalidation()
GetUtcLastModified()
GetVaryByCustom()
HasSlidingExpiration()
IsModified()
IsValidUntilExpires()
SetAllowResponseInBrowserHistory(Boolean)
SetCacheability(HttpCacheability)
SetCacheability(HttpCacheability, String)
SetETag(String)
SetETagFromFileDependencies()
SetExpires(DateTime)
SetLastModified(DateTime)
SetLastModifiedFromFileDependencies()
SetMaxAge(TimeSpan)
SetNoServerCaching()
SetNoStore()
SetNoTransforms()
SetOmitVaryStar(Boolean)
SetProxyMaxAge(TimeSpan)
SetRevalidation(HttpCacheRevalidation)
SetSlidingExpiration(Boolean)
SetValidUntilExpires(Boolean)
SetVaryByCustom(String)
net11.0-windows7.0
namespace System.Web
{
public sealed class HttpCachePolicy
{
public HttpCacheVaryByHeaders! VaryByHeaders { get; }
}
}
| NetFx Compat Lab | 2.0 % Reference this API |
|---|---|
| nuget.org | 0.0 % Reference this API |
| Upgrade Planner | 0.0 % Reference this API |
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.AspNetCore.SystemWebAdapters , Version=2.3.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.SystemWebAdapters (2.3.0) net9.0 |
| Platform Restrictions | The property getter is supported on all platforms. |
- Built-in API
- Package-provided API