Configure the Warmup service and plugins in the backend
Apart from configuring the Warmup service and its plugins in the WarmupConfig.config file, you can also configure and see plugins configurations in Sitefinity CMS backend by navigating to Administration » Settings » Advanced » Warmup.
You can add or remove user agents for the Warmup service, as well as the timeout of the service in milliseconds. By default, the request timeout is set to 30000 milliseconds.
NOTE: You can also see the request timeout value in the Trace.log file.
IMPORTANT: To activate pages warmup for all listed user agents, you need to add a varyByUserAgent parameter in the output cache settings profile. Otherwise, pages are warmed up with the user agent, listed first in the WarmupConfig.config file. For more information about the parameter, see Advanced settings of cache profiles.
To add a new warmup plugin:
- Navigate to Warmup » Plugins.
- Click Create new.
- Enter the following:
- Plugin name, for example, UrlsPlugin.
- Enter the full name of the plugin class, that is, the namespace and the name of the class.
IMPORTANT: When configuring plugins, make sure you enter the accurate plugin type. For example, the plugin type for the default SitemapPlugin is Telerik.Sitefinity.Warmup.Plugins.SitemapPlugin.
- Select the Enabled checkbox.
- Set the priority of the plugin.
NOTE: Priority defines whether the pages, associated with this plugin, are requested during system restart. For details, see Plugins.
- Save your changes.
- Expand the newly created plugin node, in this example, UrlsPlugin and click on Parameters.
Click Create new.
- Enter the key of the parameter, for example, urlsFilePath.
NOTE: Once you enter a parameter key, you cannot edit it afterwards.
- Enter a viable value.
- Save your changes.
To edit the settings of a plugin, expand the Plugins node and click on the specific plugin, for example UrlsPlugin. Previously logged data is not deleted. New plugin data is stored in the same Trace.log file.
To delete a plugin altogether, click on the Plugins node and then on the trash can icon next to the plugin.
Once you run the Warmup service, you can view results and data in the Trace.log file, located in ~App_Data\Sitefinity\Logs folder.