User Tools

Site Tools


Sidebar

magento_2:full_page_cache_warmer

For more details see the Full Page Cache Warmer for Magento 2 extension page.

Full Page Cache Warmer for Magento 2

With Cache Warmer for Magento 2 you'll be able to timely warm page cache according to your custom schedule to ensure fast page load and improve customer shopping experience.

  • Prioritize page type for cache warming.
  • Exclude specific pages if necessary.
  • Automatically warm newly created or updated pages.
  • keep track of all cache warming processes with a detailed log and visual reports.

General Settings

To configure general extension settings please go to StoresConfigurationFull Page Cache Warmer.

Enable the extension - Set the option to 'yes' to activate the Cache Warmer. The option has a 'Global' scope so it is not possible to run the warmer on a certain web store/store view.

Auto-update cache upon the product changes - Due to this option, URLs of updated pages will be automatically added to the warmer queue.


Warmer Settings

In the warmer settings tab you can configure warmer queue settings as well as specify a log size and exclude specific pages from cache warming

Query Generation Source Settings

Query Generation Source - allows selecting any of 3 available generation sources:

  • specific page types;
  • XML sitemap with pages priority;
  • custom .TXT file with one link per line.

1. Page types

Page Types - If you select 'Page Types' as a query generation source, you can choose which pages should be warmed. Drag and drop pages to prioritize pages for the warming queue depending on their importance.

2. XML Sitemap with Pages Priority

XML Sitemap with Pages Priority- The option requires a valid XML sitemap located in your Magento 2 root folder.

3. Custom .TXT file with one link per line

Text file with one link per line - You can use a custom text file with a list of links to be crawled (one link per line). Specify the file path on your server.


Warming Queue Settings

Queue Generation Schedule - It's possible to schedule warming queue generation according to any specific needs.Use the cron expression to schedule queue generation jobs, e.g. 0 */12 * * to run cron every twelve hours.

Queue Max Size - Set the maximum number of page URLs for the warming queue.

Single Batch Size - The module processes pages in batches. Specify the maximum number of pages that can be processed by cron within a single run.

Warmer Schedule -Schedule warmer jobs. For example, */5 * * * * to run cron every five minutes.

Delay between requests - Please make sure there is enough delay to keep the server load safe. Default value is: 300 (milliseconds)

Log Size - Set the maximum number of lines in the log grid.


Exclude Pages

Exclude Pages - the option lets you exclude any pages from cache warming. In our example, we excluded the Training category page and all product pages from this Category.


Page Combinations

Specify page combinations to be checked by the cache warmer.

Each link from the queue will be checked with all possible settings combinations based on the selected Query Source and with Default settings (when none of the chosen settings are taken for the request).

Take a look at the example below:

Let's say you’ve chosen the following settings:

«Customer Groups» = General

«Stores» = English, French

«Currency» = USD

There are 3 settings selected: one for a customer group, two for stores, one for currency. Besides, each of these

settings will not be specified for the request (e.g. set as Default).

Thus, here’s the number of combinations for two links:

2 links * 2 customer groups * 3 stores * 2 currencies = 24 request variants

As a result, each link will be checked in the following 12 combinations:

1. Default + Default + Default : the page is requested with no parameters whatsoever.

2. General + English + USD : switched to General group + English is on + currency changed to USD

3. General + English + Default : switched to General group + English is on + no currency is set

4. General + French + USD : switched to General group + French is on + currency changed to USD

5. General + French +Default : switched to General group + French is on + no currency is set

6. General + Default + USD : switched to General group + English is on + currency changed to USD

7. General + Default + Default : switched to General group + English is on + no currency is set

8. Default + English + USD : no group is set + English is on + currency changed to USD

9. Default + English + Default : no group is set + English is on + no currency is set

10. Etc.


Exclude Pages

Exclude Pages - the option lets you exclude any pages from cache warming. In our example, we excluded the Training category page and all product pages from this Category.


Connection Settings

Use HTTP Authentication - Use this option only if your website is protected with .htaccess

Disable certificate verification - Enable this feature only in case the FPC warmer doesn't work for https.


Debug Mode

IMPORTANT: The debug option works on the staging environment with native Magento cache. On the production environment with the activated Varnish Cache, the extension can't gather and process necessary data. Therefore, the Status & Hints are not available.

Show Cache Status Only For - specify particular IP addresses fro which cache statuses will be displayed. Leave the field blank if you don't want to limit cache status display.


Warmer Queue

To open the Warmer Queue grid please go to SystemAmasty FPC WarmerWarmer Queue

Here is the list of page URLs waiting to be processed.

You can generate a warmer queue manually at any time you need by clicking the 'Generate Queue' button. It's also possible to manually trigger queue processing. To start processing URLs click the 'Start Warm Up' button'.

Warmer Log

The log grid shows already warmed URLs. The log contains all crawled page combinations specified in 'Page Combinations' tab. Easily filter log data by any parameter you need.


Performance Reports

Status Codes

To take a look at visual reports go to SystemAmasty FPCPerformance Reports .

Status Codes - The stats report shows page statuses, as well as the number of pages with each particular status for all processed pages. It's highly useful for showing the percentage of errors and success loads.


Warmed Pages

Warmed Pages - Summary stats of requested pages for previous time periods.


Frontend Statuses

Check page statuses on the frontend.

The module displayed detailed information about not cacheable blocks.

Find out how to install the Full Page Cache Warmer extension for Magento 2 via Composer.

Rate the user guide
 stars  from 6 votes (Details)
magento_2/full_page_cache_warmer.txt · Last modified: 2017/10/20 09:14 by prakapovich