Configuration - <staticFile> Section

Product version:

EPiServer CMS 6 R2

Document version:

1.0

Document last saved:

<staticFile>

<staticFile cacheControl="string"
            enableOutputCache="bool"
            expirationTime="TimeSpan" />

NameDefault ValueDescription

cacheControl

auto

The cache policy to be used for static files.

Possible values are "auto" or one of the HttpCacheability values.

If value is set to "auto" the actual cache policy to be used will be calculated for each request. If the request is made by an authenticated user the cache policy will be HttpCacheability.Private, otherwise HttpCacheability.Public.

enableOutputCache

false

Defines if the output cache shoud be used.

expirationTime

0:0:0

TimeSpan that is added to DateTime.UtcNow to calculate the Expires HTTP header value.