Configure output caching and change the cache expiration time

Once the page is compiled, the actual request processing begins. The page is instantiated and executed. The page and all controls on it go through their lifecycle to complete their business logic and generate the output HTML. Also, this is the stage where all permissions are checked, all necessary data is collected from the database etc. Once the response is generated, it could be cached before sending it to the client. By default, Sitefinity CMS caches the response allowing subsequent requests to skip the entire step.

NOTE: The response may vary for different browsers and some request conditions. This is why this step may still be executed even though the output has already been cached. For example, if the request is authenticated with credentials that allow inline editing, output cache will not take effect and this step will always be executed. When testing output cache, make sure you are logged out.

RECOMMENDATION: Configure the output cache, so that you ensure output cache is turned on for pages, has a longer duration time, and configure various output cache settings that affect performance. For more information, see Best practices: Configure output cache.

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

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. 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?