Client cache

Sitefinity CMS caches scripts, styles, fonts, and media content (images, documents, videos) on the client browser. By adding a Cache-Control header to the response of the request, Sitefinity CMS instructs the browser to cache the client-side resources. As a result, the number of server requests decreases and the response size is smaller. You can configure any Sitefinity CMS pages and libraries to use both server caching and client (browser) caching of content. The expiration of content in cache is configured by setting the appropriate client cache profile for the page or library. For more information, see Administration: Configure cache profiles
Sitefinity CMS combines static resources such as JavaScript and CSS files, which can greatly reduce loading time.

In addition, you can configure CDN and proxy server support for pages or media items. For more information, see Use CDN for library storage libraries.

Using HTTP ETag with Sitefinity CMS 

The HTTP ETag is a mechanism for cache validation. When present, the ETag is used by the client (for example CDN, browser) to verify whether the cached version of the content stored on the client is still valid for the server. This way, if the content has not changed, the server does not to need to return a full response every time.

Sitefinity CMS generates ETag by default, and this behavior is included as part of the client cache implementation in the product. When running in load balanced setup, Sitefintiy CMS ensures that all nodes generate the same ETag.

The ETag generation depends on whether you have the Enable Client Cache property set to true (default setting) in your Sitefintiy CMS output cache settings, and your Media Cache Profile is enabled (default setting), and configured for caching Location “Any” (default setting), “Client” or “ServerAndClient”.  For more information, see Administration: Configure cache profiles.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?