# Configure the Warmup service and plugins

Once you install and activate the Warmup module, you can run the service straight away.To modify the service configuration, you need to add the `WarmupConfig.config` file and locate it in the `~\App_Data\Sitefinity\Configuration` folder.

The file should have a structure, similar to the following:

* List of all warmup plugins
* Optional user agent configurations\
  User agent configurations verify the OS, vendor, and browser that requests the page. If, for example, the browser you are opening a page from is not verified via the user agent configuration, the page URL is not initialized during warmup.

  > **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](https://www.progress.com/documentation/sitefinity-cms/administration-configure-cache-profiles).

> info  **NOTE**: If you modify the service or plugin configuration in the backend, modifications are not always reflected on the file system. For example, if the site is configured to be in read-only mode.

The combination of the `WarmupConfig.config` file and the plugin configurations gives the total number of URLs the plugin produces. For example, the configuration of the Warmup service with the default *SitemapPlugin* plugin looks in the following way:

```XML
<?xml version="1.0" encoding="utf-8"?>

<warmupConfig>
 
 <plugins>
   <add enabled="true" priority="High" type="Telerik.Sitefinity.Warmup.Plugins.SitemapPlugin" maxPagesOnStartupPerSite="20" maxPagesAfterInitializationPerSite="50" name="DefaultSiteMap"/>
 </plugins>
 
 <userAgents>
   <add value="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" name="MyAgent" />
 </userAgents>

</warmupConfig>
```

In the example above, the configuration properties on plugin level include:

1. Indicates whether the plugin is enabled or not.

   > info  **NOTE**: You can deactivate plugins only individually.
2. Defines the priority of the plugin.
3. Set the number of pages per site that are requested during warmup on Sitefinity CMS startup.

   > info  **NOTE**: In case your Sitefinity CMS instance has 5 sites running on it, this means that this number is multiplied by 5 to get the actual number of pages, initialized during warmup.
4. Set the number of pages per site that are requested after warmup as a background task.

   > info  **NOTE**: In case your Sitefinity CMS instance has 5 sites running on it, this means that this number is multiplied by 5 to get the actual number of pages, initialized after warmup.
