Configure output cache

Sitefinity .NET Core pages leverages ASP.Net Core response caching. For more information, see Microsoft documentation » Response caching in ASP.NET Core.

All of the pages that are rendered by Sitefinity .NET Core Renderer are cached with an absolute expiration of 1 minute.

You can configure the cache expiration via the standard configuration for the response cache profiles. The name of the cache profile is sitefinity.
You can configure it by editing the Startup.cs file of your .NET Core Renderer application to add the AddControllersWithViews service.
Place the configuration before calling AddSitefinity to override the behavior of the response cache.

The Startup.cs file should look like this:

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?