CacheWarmer for Drupal

A native Drupal module with admin configuration, Drush commands, and Queue API integration. Supports Drupal 10 and 11.

Install with Composer

1

Install via Composer

Require the module with Composer and enable it via Drush or the Extend page.

2

Configure Targets

Navigate to Configuration → System → CacheWarmer. Enter your API keys and select warming targets.

3

Start Warming

Run warming manually, via Drush, or let the cron scheduler handle it automatically.

Shell
composer require drupal/cachewarmer
drush en cachewarmer -y

Built for Drupal

A proper Drupal module that follows Drupal coding standards and integrates with the Drupal ecosystem.

Admin Configuration Form

Full configuration form under Configuration → System. Manage all warming targets, API keys, and scheduling from the Drupal admin.

Drush Commands

Trigger warming jobs, check status, and manage sitemaps directly from the command line with custom Drush commands.

Queue API Integration

Uses Drupal's Queue API for reliable job processing. Works with the default database queue or advanced queue backends.

Cron Integration

Automatic warming via Drupal cron. Compatible with the Ultimate Cron module for fine-grained scheduling control.

Sitemap Auto-Detection

Automatically detects sitemaps from the Simple XML Sitemap module, XML Sitemap module, or custom sitemap paths.

Drupal Standards

Follows Drupal coding standards, uses the Configuration API, permission system, and proper dependency injection.

Drush Commands

Full control from the command line.

Shell
# Warm all URLs from all configured sitemaps
drush cachewarmer:warm

# Warm a specific sitemap
drush cachewarmer:warm --sitemap=https://example.com/sitemap.xml

# Warm only specific targets
drush cachewarmer:warm --targets=cdn,facebook,indexnow

# Check status of the last warming job
drush cachewarmer:status

# List all configured sitemaps
drush cachewarmer:sitemaps

Up to 11 Warming Targets

Target What It Does Free Premium Enterprise
CDN Cache Warming Visits URLs to fill CDN edge caches
IndexNow Notifies Bing, Yandex, Seznam
Facebook Refreshes Open Graph previews
LinkedIn Updates LinkedIn post previews
Twitter/X Pre-warms Twitter Card cache
Pinterest Refreshes Rich Pin metadata
Google Submits URLs via Indexing API
Bing Submits URLs via Webmaster API
Cloudflare Purge + warm Cloudflare cache
Imperva Purge + warm Imperva cache
Akamai Purge + warm Akamai cache

Requirements

System Requirements

  • Drupal 10.2+ or Drupal 11
  • PHP 8.1 or later
  • Composer for installation
  • Drush 12+ recommended

Compatible With

  • Simple XML Sitemap module
  • XML Sitemap module
  • Drupal Commerce sites
  • Multisite installations (Enterprise plan)

Ready to Warm Your Drupal Caches?

Install with Composer and start warming in minutes. Free plan available.