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:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?