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 <xref href="Cuemon.AspNetCore.Http.Headers.CacheableOptions" data-throw-if-not-resolved="false"></xref>.

<table><thead><tr><th class="term">Property</th><th class="description">Initial Value</th></tr></thead><tbody><tr><td class="term"><xref href="Cuemon.AspNetCore.Http.Headers.CacheableOptions.CacheControl" data-throw-if-not-resolved="false"></xref></td><td class="description"><pre><code class="lang-csharp">new CacheControlHeaderValue()

{ Public = true, MustRevalidate = true, NoTransform = true, MaxAge = TimeSpan.FromDays(7) };Expiresnew ExpiresHeaderValue(TimeSpan.FromDays(7));