Table of Contents

CacheableOptions Constructor

Definition

CacheableOptions()

Initializes a new instance of the CacheableOptions class.

public CacheableOptions()

Remarks

The following table shows the initial property values for an instance of CacheableOptions.

PropertyInitial Value
CacheControl
new CacheControlHeaderValue()
{
    Public = true,
    MustRevalidate = true,
    NoTransform = true,
    MaxAge = TimeSpan.FromDays(7)
};
Expiresnew ExpiresHeaderValue(TimeSpan.FromDays(7));