CacheWarmer for Drupal
A native Drupal module with admin configuration, Drush commands, and Queue API integration. Supports Drupal 10 and 11.
Install with Composer
Install via Composer
Require the module with Composer and enable it via Drush or the Extend page.
Configure Targets
Navigate to Configuration → System → CacheWarmer. Enter your API keys and select warming targets.
Start Warming
Run warming manually, via Drush, or let the cron scheduler handle it automatically.
composer require drupal/cachewarmer
drush en cachewarmer -yBuilt 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.
# 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:sitemapsUp 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 | |||
| Refreshes Open Graph previews | ||||
| Updates LinkedIn post previews | ||||
| Twitter/X | Pre-warms Twitter Card cache | |||
| Refreshes Rich Pin metadata | ||||
| 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.