Skip to main content

Configuring the extension

For a quick start, you need to:

  1. Navigate to General warming and exclusion configuration, enable the extension and choose the Warming strategy and Warming level in the Performance settings.
  2. The extension relies on regular cron executions. Ensure that the cron job on the store is running consistently and completing successfully. We recommend setting it to run every 1-5 minutes.
note

The extension uses two cron groups, and both must run:

Cron groupJobsWhat they do
defaultmst_cache_warmer_update_pagesupdates pages by warm rules and removes old jobs and logs
cache_warmermst_cache_warmer_warm_job, mst_cache_warmer_heartbeat, mst_cache_warmer_rate, mst_cache_warmer_sync_sourcewarms pages, detects cache flushes made outside Magento, collects the cache and server load rates, and synchronizes sources

The standard bin/magento cron:run command (without the --group option) runs all groups. If your server runs cron only for selected groups, for example bin/magento cron:run --group=default, add the cache_warmer group as well. Otherwise the default jobs succeed, but no pages are warmed and the Jobs list stays empty.

The default source and warm rule are already configured and enabled, so these steps are enough to start the extension and begin collecting and warming up URLs.

Additional configuration​

Use the steps below to configure the extension according to your requirements:

  1. Create additional Sources if you need to import URLs from a file or sitemap.xml.
  2. Create additiona Warm rule if you need to prioritize pages for warming.

After completing the setup, make sure your Magento cache system is working correctly and successfully caching your website's pages.