Skip to content

About this project

Cache Warmup is a library to warm up website caches of URLs located in XML sitemaps. It is written in PHP and was first published back in 2020.

Cache warmup is performed by concurrently sending simple HEAD requests to those URLs, either from the command line or by using the provided PHP API.

The whole warmup process is highly customizable, e.g. by defining a crawling limit, excluding sitemaps and URLs by exclusion patterns or by using a specific crawling strategy. It is even possible to write custom crawlers that take care of cache warmup.

Screenshot

Features

🚀 XML sitemaps

Warm up caches of URLs located in XML sitemaps

🖥️ Console command

Console command and PHP API for cache warmup

🔀 Sitemap indexes

Out-of-the-box support for sitemap indexes

🎯 Exclude patterns

Exclusion patterns for sitemaps and URLs

🧪 Crawling strategies

Various crawling strategies to modify crawling behavior

📦 gzip support

Support for gzipped XML sitemaps

🧑‍💻 Customizable

Interface for custom crawler implementations

… and many more!

Released under the GNU General Public License 3.0 (or later)