View precompilation

ASP.NET MVC compiles Razor views (widget templates in the context of Sitefinity CMS) the first time they are requested. To avoid this initial rendering delay, by default Sitefinity CMS automatically precompiles the templates, so that they are ready for rendering when the widget is requested, be it on the frontend or in the backend. The widget templates that are located in the MVC folder of both the web app and the resource packages are precompiled when building the Sitefinity CMS project.

Tags

Was this article helpful?