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.

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?