Table of Contents

DocumentUltimateWebConfiguration.CacheAutoTrimInterval Property

Definition

Namespace
GleamTech.DocumentUltimate.AspNet
Assembly
GleamTech.DocumentUltimate.dll

Gets or sets a value that specifies the interval to run automatic cache trimming (clean up). Cached items older than cache's MaxAge setting will be removed when the cache is trimmed.

The default value is 15 minutes. The minimum value is 5 minutes. If the value is 0 or negative, the auto trim will be disabled.

In string representation (e.g. when setting in a config file), value in format "d" is considered days (e.g. "30" is 30 days) and value in format "hh:mm" is considered hours and minutes (e.g. "1:30" is 1 hour and 30 minutes). Note that "24:00" would mean 24 days as hour range is 0 to 23 and minute range is 0 to 59. See Parse(string) documentation for details on possible string representations.

public TimeSpan CacheAutoTrimInterval { get; set; }

Property Value

TimeSpan