Warm your full page cache for LestiFPC or Varnish

in CachingPerformance

To speed up your Magento 1 shop, it is recommended to pre-warm your full page cache. This will make sure the pages are fast for all visitors. There are several tools to do this using the sitemap.xml.

In this article we describe a few of them.

Warm your caches using the hypernode performance magerun plugin

Our own tool that is always present on all hypernodes is the hypernode:performance plugin.
This plugin can read all urls from the sitemap.xml and crawl each url while measuring response times and even compare speed between production and staging.

To use this plugin run the following command:

n98-magerun hypernode:performance --sitemap https://www.example.com/sitemap.xml

This will crawl all defined urls in the sitemap.xml and generate a report afterwards.

*For an overview of all available options of the hypernode:performance magerun plugin, check n98-magerun hypernode:performance --help

Warm your caches using the turpentine cache warmer

When you have turpentine installed, a cache-warmer by nexcess is already shipped with turpentine and therefor present in your magento installation.

To make use of it, see the varnish documentation.

Magento 2

Magento 2 ships with a full page Redis cache included in the package. Therefor an extension like LestiFPC is not needed for Magento2.

For warming your caches on Magento2, You can use the cache warmers we made ourselves instead. These can be found in our article about configuring varnish for Magento 2