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)
net7.0
namespace System.Web
{
public class HttpCachePolicy
{
public HttpCacheability GetCacheability();
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net7.0 | |
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 API is supported on all platforms. |
- Built-in API
- Package-provided API