Configuring the extension
For a quick start, you need to:
- Navigate to General warming and exclusion configuration, enable the extension and choose the Warming strategy and Warming level in the Performance settings.
- 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.
The extension uses two cron groups, and both must run:
| Cron group | Jobs | What they do |
|---|---|---|
default | mst_cache_warmer_update_pages | updates pages by warm rules and removes old jobs and logs |
cache_warmer | mst_cache_warmer_warm_job, mst_cache_warmer_heartbeat, mst_cache_warmer_rate, mst_cache_warmer_sync_source | warms 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:
- Create additional Sources if you need to import URLs from a file or sitemap.xml.
- 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.