Each time your system restarts, the first time pages are requested on the frontend, performance may be slowed down and as a result make your customers impatient while waiting for your site to load. To avoid such cases, you can leverage Sitefinity CMS Warmup service, which ensures your site is configured for optimal performance from the very first time your customers visit it. Warmup service 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. As a result, your customers do not experience any slowdown, lagging, or delay in loading of your site.
IMPORTANT: The Warmup service will not cache your website pages if you have a Session_Start or Session_End event handler in your website Global.asax. For more information see KB Article Sitefinity not caching pages visited by the Warmup module or cached by warmup scripts.
Navigate to Administration » Modules&Services » Warmup.
Expand the Actions menu and choose Install.
Once you install and activate the Warmup module, you can run the service straight away. You enable the service and modify the service configuration in:
NOTE: You need to manually create the WarmupConfig.config file.
The Warmup service is executed upon initialization of your Sitefinity application.
The Warmup service leverages a plugin architecture that you can extend, if required. The service enables you to request a specific set of pages during system restart and then the rest of the pages are requested in the background. The default plugin SitemapPlugin gets the set of page URLs to be requested via the sitemap and thus acquires the URLs of pages that are published and part of the navigation. For more information, see Include pages in the sitemap.
NOTE: Pages that have specific permissions are not requested by the SitemapPlugin.
Apart from the default plugin, you can implement and use other plugins. For more information, see Tutorial: Implement a Warmup service plugin.
The SitemapPlugin sorts pages according to:
The Warmup service sorts plugins according to their priority in descending order. Only afterwards the service requests the plugin URLs. Thus, the higher the priority of the plugin, the earlier its URLs are requested.
All plugins (including the SitemapPlugin) return the WarmupUrl array of objects, each object having the WarmupPriority property that defines whether the URL is requested during system initialization, as well as the order, in which URLs are requested.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.