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)
net8.0-windows
namespace System.Web
{
public sealed class HttpCachePolicy
{
public HttpCacheRevalidation GetRevalidation();
}
}
| .NET | 5.06.07.08.09.010.011.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 net8.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) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API