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)
netstandard2.1
namespace System.Web
{
public class HttpCachePolicy
{
public void SetCacheability(HttpCacheability cacheability);
}
}
NetFx Compat Lab | 6.6 %
Reference this API |
---|---|
nuget.org | 0.2 %
Reference this API |
Upgrade Planner | 0.5 %
Reference this API |
.NET | 5.06.07.08.09.010.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 netstandard2.1 | |
Assembly | Microsoft.AspNetCore.SystemWebAdapters , Version=2.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.SystemWebAdapters (2.0.0) netstandard2.0 |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API