Precompile widget templates

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.

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?