ryssbowh/craft-warmer

A cache warmer for Craft 5

3.0.0 2024-04-04 04:41 UTC

This package is auto-updated.

Last update: 2024-12-04 06:14:51 UTC


README

Build up your caches for your Craft site with a cache warmer.

The warmer will look at your sites(s) sitemap.xml and visit them, building up the caches (image transforms, imager, html etc) and making the site load faster for your user. This can be useful when clearing the caches after a release for example, or anytime you clear a site's caches, or make changes in your content.

There are several ways to trigger it :

  • With the utility control panel menu
  • Console command
  • Through a front end url

The front end and the control panel triggers can benefit from parallel execution, making the process quicker.

A locking system can prevent several instances of the cache warming.

The warmer will tell you which http code returns each of your urls, so you can quickly spot any issues.

Elements urls (and related elements urls) can be warmed automatically when they are saved.

Installation

  • composer require ryssbowh/craft-warmer:^3.0

Documentation

Plugin documentation