HttpCacheableOptions Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Mvc.Filters.Cacheable
- Assemblies
- Cuemon.AspNetCore.Mvc.dll
HttpCacheableOptions()
Initializes a new instance of the HttpCacheableOptions class.
public HttpCacheableOptions()
Remarks
The following table shows the initial property values for an instance of HttpCacheableOptions.
| Property | Initial Value |
|---|---|
| Filters | new List{ICacheableAsyncResultFilter}() |
| CacheControl | new CacheControlHeaderValue() { MaxAge = TimeSpan.FromMinutes(5), MustRevalidate = true, Private = true }; |