Other cache settings

Page compilation caching

Sitefinity supports page compilation caching. For more information, see Force pages to compile.

Page compilation caching is stored in ASP.NET temporary folder. This way, it is persistent between restarts.

Widgets caching

If your site is configured to use output caching, custom widgets are cached with the entire page. You can disable caching page by page and you can also leverage the post-cache substitution mechanism. Sitefinity exposes a class called CacheSubstitutionWrapper and, if you wanted to inject dynamic content onto cached pages, you can take advantage of this infrastructure without hindering performance.

For more information, see For developers: Use a cache substitution widget.

Caching and permissions

By default, output cache is not invalidated on changing the page permissions. 

You can change this by clicking Administration » Settings » Advanced » Pages and deselect Disable Output cache invalidation when permission is changed checkbox. We do not recommend deselecting this option, because any change of permissions will invalidate the output cache of all pages.

Set IIS Application Pool memory size used for caching

You can set the maximum size of the items that are cached. Items larger that the predefined size are not cached. For more information how to configure caching of items, see Administration: Configure cache profiles.

NOTE: The maximum amount of memory to be used for cache is equal to the maximum size of items cached times the number of pages.

You can set the maximum cache size for Sitefinity CMS on application pool level in IIS. This setting is useful when you have multiple sites hosted on the same server and you want to set a limit on the resource use for each site. This way, the application pool automatically resets itself when its size limit is reached. 

To set this, perform the following:

  1. Open IIS Manager.
  2. Expand you server node and click Application Pools.
  3. Select your application pool and in the right pane, click Advanced Settings.
  4. Under Recycling, you can set the Private Memory Limit.

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?

Next article

Cache invalidation