CacheDuration Property

Glimpse API

FileResource CacheDuration Property Glimpse API Documentation
Gets the duration of the cache, in seconds.

Namespace: Glimpse.Core.Resource
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

protected virtual int CacheDuration { get; }
protected virtual int CacheDuration { get; }

Field Value

The duration of the cache, in seconds.
Remarks

CacheDuration will be set as the max-age parameter of the Cache-Control Http response header.
See Also