System::Net::Cache::HttpCacheAgeControl enum

HttpCacheAgeControl enum

CacheAgeControl is used to specify preferences with respect of cached item age and freshness.

enum class HttpCacheAgeControl

Values

NameValueDescription
None0For internal use only.
MinFresh1Content can be taken from the cache if the time remaining before expiration is greater than or equal to the time specified with this value.
MaxAge2Content can be taken from the cache until it is older than the age specified with this value.
MaxStale4Content can be taken from the cache after it has expired until the time specified with this value elapses.
MaxAgeAndMinFresh3MaxAge and MinFresh.
MaxAgeAndMaxStale6MaxAge and MaxStale.

See Also