With Sitefinity CMS, you can configure both client and output cache profiles on application level for pages and media libraries. You can easily create and manage global cache profiles for pages and media libraries in the Administration section of Sitefinity CMS. To do so, navigate to Administration » Settings » Global settings » Cache profiles.
NOTE: You can also configure cache profiles in the Advanced settings of Sitefinity CMS. For details, see Advanced settings: Cache profiles.
However, we recommend that you work in the Cache profiles section, described in this article, as this is the most convenient and easy way to configure and manage cache profiles.
By setting global cache profiles on application level, you get a built-it mechanism to cache pages on the client, based on controlling the cache-control header of the page, allowing to send a standard HTTP cache-control header that instructs the client to cache the page for the configured time. You thus optimize your site's performance by reducing the number of requests on the original server by caching the page response on browser, proxy server or CDN for a specific amount of time and reused in other subsequent requests.
NOTE: You cannot delete default cache profiles.
For each cache profile, you can see the details, summarized in the following table.
Specifies the location of the cached HTTP response content. You can choose one of the following values:
The time duration, in seconds, during which the page or control is cached.
Specifies how long after an item is last accessed the cache entry expires. For example, you can set an item to expire 20 minutes after it was last accessed in the cache.
NOTE: This setting only affects the cache profiles for media libraries.
We recommend that you turn off library server caching for media libraries using the file system blob storage.
NOTE: By default, this property is disabled.
Gets a custom key string that allows to specify how the output cache varies by specific context information. You can later use the key in the global application class by overriding the GetVaryByCustomString method and specifying the behavior of the output cache for the custom string.
Back To Top