Optimize compilation of pages

Each time your system restarts and pages are requested on the frontend for the first time after restart, Sitefinity CMS generates the markup for the pages, passes it to ASP.NET engine for compilation, and the ASP.NET compiles the page in an assembly that is stored in a temporary folder.

RECOMMENDATION: We recommend installing Roslyn for your Sitefinity CMS application, so that you end up with improved startup and pre-compilation times. For more information, see Optimize website startup.

To make subsequent requests to the sever faster, you can persist the compiled assembly between application restarts and create the page from the already compiled assembly.

NOTE: The compiled assembly is invalidated and recompiled if the page is changed and republished or, if for some reason, the ASP.NET assembly cache is cleared.

To do this, you can leverage Sitefinity CMS Warmup service, which requests all sitemap pages, compiles them based on sitemap priority and stores them in the output cache, so they are ready to perform at their best.

RECOMMENDATION: Leverage the Sitefinity CMS Warmup service to ensure your website is configured for optimal performance, so that your customers do not experience any slowdown, lagging, or delay in loading of your site. For more information, see Site warmup.

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?