In the following review, we describe one very important Magento 2 performance improvement. If you are not new to the platform, you might be familiar with Magento full page cache warmer extensions that improve the productivity of the FPC module. As for Magento 2, the highly effective cache type is available here by default, but there is still a problem with its usage. Cached pages may be deleted manually or after a particular period. As a result, the full page cache module doesn’t work as it should. To always keep the cache version up to date, we recommend you to install Magento 2 full page cache crawler warmer by Amasty. This tool will help you monitor cache statuses warming up cache every time the procedure is required. As a result, your Magento 2 ecommerce website will provide visitors with much faster load speed.
- Magento cache warmer to warm all important pages
- Fully automated warming
- Fully automated cache updates after changes are applied
- List of pages excluded from warming
- Performance reports
- Log with warmer-related data
The core principle behind the Amasty Full Page Cache Warmer Magento 2 extension is based on the ability to monitor store pages and add them to the cache warming queue if necessary. The process is fully automated, so you can save tons of time and effort by installing the module. When the queue is generated, the Magento 2 cache warmer processes it using cron: all the pages are created based on multiple parameters (you get lots of combinations), and then the extension caches them.
As a Magento 2 administrator, you can easily start Magento full page cache auto generation creating a cache warming queue in a few clicks. Multiple parameters can be applied to create different conditions. Besides, there is an opportunity to select several queue generation sources, like your XML sitemap, specific page types, or a txt file. Note that in case of the XML sitemap, you can specify page priority. As for a txt file, each link must be entered in a new line.
The Amasty Full Page Cache Warmer Magento 2 module allows prioritizing pages for warming. The extension enables users to configure 4 page types for warming: homepage, product pages, category pages, and CMS pages. Hence, you can easily set up a processing priority according to your ecommerce requirements. Also, note that some pages may be excluded from warming. We describe this feature in more details below.
To make the warming process more flexible, the Amasty Full Page Cache Warmer Magento 2 extension allows creating a schedule for the cache warming queue generation. As a result, you can run cron every X hours. Furthermore, it is possible to specify the frequency of page processing. Also, you can set a limit on a maximum number of pages used in the queue. It is also necessary to mention that the Magento 2 warmer extension processes page URLs in batches. As a store administrator, you can easily set limits on the number of URLs in a batch.
To apply more precise configuration, save time, and get correct data, the Amasty Full Page Cache Warmer Magento 2 module offers some advanced settings. First of all, you can specify pages to be warmed on the basis of the customer group, currency, and store view. Note that all URLs of newly created or updated pages are automatically added to the warmer queue. Besides, you can view 2 report types: Status codes and Warmed pages. Alternatively, it is possible to access a detailed cache warming log. The appropriate grid illustrates such information as date, currency, store view, customer group, and other.
As for the debug mode, it provides the Status & Hints option. Note that the option works only on the staging environment with native Magento cache. As for the normal mode, the Magento 2 FPC warmer extension supports both Magento 2 Varnish Cache and default File Cache.
We’d like to start our backend exploration of this Magento 2 warmer extension form the configuration section that is available under Stores -> Settings -> Configuration -> Amasty Extensions -> Full Page Cache Warmer. Five blocks with settings are available here: General, Warmer, Page combinations, Connection Settings, and Debug. Let’s describe each one in more detail.
In General settings, you can enable/disable the Amasty Full Page Cache Warmer Magento 2 extension, as well as turn on the “Auto-update cache upon the product changes” feature which adds product pages URLs to the Warmer Queue upon the product edit.
In the Warmer settings, select query generation source. It may be either Pages Types or Text file with one link per line. For Pages Types, you can choose home, product, category, and CMS pages. For the text file, give the relative path to file on your server.
Next, create a queue generation schedule: use the standard cron expression. For instance, 0 */4 * * will run cron every four hours. Then, set the maximum number of pages in the Warmer Queue, as well as the number of page URLs that will be processed at a single cron run. You can also use the cron expression to schedule warmer jobs. For instance, */8 * * * * will run cron every eight minutes.
Besides, you can create a custom delay (in milliseconds) between requests to keep the server load safe. It is also possible to set the maximum number of lines in the log table and specify pages to be excluded.
In Page combinations, you can configure cache warming for pages that satisfy specific requirements. There are three filters to be activated: customer groups, currencies, and stores. For each filter, you can select one or several parameters.
In Connection Settings, enable/disable HTTP authentication and specify its parameters. The option must be activated when the website is protected with .htaccess. Next, you can enable certificate verification. This feature must be turned on only if the FPC warmer doesn’t work for HTTPS.
The Debug block allows you to enable the display of cache status. Alternatively, it is possible to specify IP addresses to which to show cache statuses.
Next, go to System -> Amasty FPC Warmer -> Warmer Queue. As mentioned above, all pages in the queue are placed here automatically. Alternatively, you can manually generate the queue at any time and trigger URLs processing: just hit the appropriate button above the grid. As for the queue grid, it displays URLs and their rate.
Under System -> Amasty FPC Warmer -> Warmer Log, you can find the log grid that shows already warmed URLs. It is possible to filter log data by any parameter you need. The grid itself contains the following columns:
- Date – date and time when an URL was warmed;
- URL – the address of the warmed page;
- Store View – related store view;
- Currency – related currency;
- Customer Group – related customer group;
- Rate – each URL gets a rate;
- Status – Already cached or 200 OK;
- Time – time for caching.
Under System -> Amasty FPC Warmer -> Performance Reports, there are two tabs: Status Codes and Warmed Pages. The first one shows the number of cached and warmed pages. The second tab displays the quantity of warmed pages per each day of a specified time interval.
As you can see, the Amasty Full Page Cache Warmer Magento 2 module not only crawls and warms cache automatically, it also allows admins to configure lots of various parameters to make the process more precise, as well as provides data describing the performance of your Magento 2 storefront. As for the price, the M2 extension costs $175. For further information about this Magento 2 full page cache warmer, follow the link below the post. Besides, we recommend you to check our comparison of the extension with its closest competitor: Magento 2 FPC Warmers Comparison.