Magento 2 Cache Warmer Console CommandsCache Warmer

« Back to Magento 2 Cache Warmer

The Cache Warmer is a command line based on module. This means that to run the module, you will need to have SSH access to your server.

The commands below can be executed directly or can be added to your CRON job.

bin/magento fishpig:cachewarmer --file pub/sitemap.xml --store 1

You must specify the --file and --store parameters for this to work.