Twitterizer 2 Documentation
CacheTimespan Property
NamespacesTwitterizerOptionalPropertiesCacheTimespan
Allows configuration of the sliding expiration timespan for output caching.
Declaration Syntax
C#Visual Basic
public TimeSpan CacheTimespan { get; set; }
Public Property CacheTimespan As TimeSpan
	Get
	Set
Value
The duration that API output should be cached, on a sliding expiration, once enabled. Default: 5 minutes
Remarks
The default value can be set at an application level by adding a Twitterizer2.CacheTimeout application setting with value equal to the number of seconds of the duration. For example:
CopyXML
<configuration>
  <appSettings>
    <!-- Sets the number of seconds to cache results (default is 5 minutes) -->
    <add key="Twitterizer2.CacheTimeout" value="300"/>
  </appSettings>
<configuration>
See Also

Assembly: Twitterizer2 (Module: Twitterizer2) Version: 2.3.2.40349 (2.3.2.0)