Video tutorial (0:16) — step-by-step overview & setup
HD · English voiceoverQuick start: 3 steps to get running
Verify your sitemap.xml source
Open BIGOR STUDIO → Cache Warmer — the plugin auto-detects sitemap_index.xml from Yoast SEO, Rank Math, The SEO Framework, or WordPress core. Click "Check URL list" to confirm total page count.
Enable auto-warming, mobile mode & cache variants
On the Automation tab, turn on warming after cache purge and your recurring schedule. On the Settings tab, enable mobile warming and, if needed, the Cache Variants block (PRO).
Set concurrency limits & WooCommerce priority
For shared hosting, keep 2–3 concurrent requests and a 300–500 ms pause; on a VPS, use 5–10 requests. Enable WooCommerce bestseller priority so your top‑200 products are warmed first.
1. Multi-variant warming: languages, currencies & Legacy Accept
On multilingual stores (WPML, Polylang) and sites with currency or city switchers (WOOCS, WCML), page caches store separate copies of the same URL keyed by cookies or the Accept-Language header. In Cache Warmer v1.6.1 (PRO), all of them can be warmed automatically:
- Open the Settings tab and scroll to "Cache variants: languages, currencies & Accept".
- In "Cookie & Accept‑Language variants", add up to 6 lines (one variant per line) using
Label | cookie=valueorLabel | lang:code. - If you serve AVIF/WebP images via
Vary: Accept(for instance, paired with Media Optimizer), turn on "Additionally warm a non-AVIF/WebP copy (Vary: Accept)" to preload a fallback copy for legacy browsers and bots. - Click "Save" and start warming. In the run log and CSV export, these requests are labeled
variant, andwp cache-warmer statusreports dedicatedvariants_okandvariants_errcounters.
USD | wcml_client_currency=USD
EUR | woocs_currency=EUR
EN | lang:en-US
MSK | city_slug=moscow| Line syntax | Header sent to server | Target plugins |
|---|---|---|
USD | wcml_client_currency=USD | Cookie: wcml_client_currency=USD (multiple cookies separated by ;) | WCML, WOOCS, FOX Currency Switcher, city/branch switchers, wholesale pricing |
EN | lang:en-US | Accept-Language: en-US,en;q=0.9 | WPML, Polylang, TranslatePress, LiteSpeed / Nginx language cache |
| Legacy Accept toggle | Accept: text/html,... without image/avif or image/webp | Sites using Vary: Accept with Media Optimizer |
CWP_Http strictly chunks outgoing batches so parallel connections never exceed your batch_size limit — preventing request storms. All header values are automatically stripped of line breaks.
2. LiteSpeed shield, Object Cache (Memcached/Redis), 18 caching systems & page builders
A notorious issue on OpenLiteSpeed / LiteSpeed Enterprise: when WordPress auto-updates plugins via wp-cron.php or WP-CLI, X-LiteSpeed-Purge: * response headers never reach the web server, leaving visitors with stale cached HTML pointing to deleted CSS/JS bundles (404 broken layouts).
- Auto-purge & signed HMAC HTTP relay for LiteSpeed + Object Cache (enabled on all plans, including FREE): under Settings → Requests, keep "Auto-purge cache & warm homepage after updates (18 caching systems)" enabled. Whenever plugins, themes, or core update from WP‑CLI or WP‑Cron, Cache Warmer dispatches a signed HMAC loopback request to live web PHP (with a
CURLOPT_RESOLVEfallback behind NAT/Cloudflare). Inside the web process, LiteSpeed CSS/JS bundles and external Object Cache (Memcached/Redis) are flushed,X-LiteSpeed-Purge: *is emitted, and the homepage is immediately warmed for desktop and mobile. On non-LiteSpeed stacks (Nginx, WP Rocket, Apache + Redis/Memcached), the same relay synchronizes the web Object Cache after CLI updates. - Selective page-builder & Gutenberg CSS purge (v1.6.1): CSS caches for Elementor, Divi (
ET_Core_PageResource), Beaver Builder (FLBuilderModel), and Gutenberg (wp_clean_theme_json_cache()) are purged only when the builder/block plugin, active theme, or WordPress core actually updates (controlled viacwp_should_clear_elementor_cssandcwp_should_clear_builder_cssfilters). Whenwp-content/object-cache.phpis present, builder cleanup never runs directly inside CLI PHP — it is relayed via signed flags (cwp_ls_el=1,cwp_ls_bld=...) into live web PHP strictly beforewp_cache_flush(), preventing desync and CSS404errors. - Safe relay dry-test: under Diagnostics → Maintenance, click "Test" next to "LiteSpeed CLI / Cron" (or "Object Cache CLI / Cron" on non-LiteSpeed sites) to verify signed loopback delivery without flushing live cache.
- 18 supported caching systems: LiteSpeed / OpenLiteSpeed, WP Rocket (page + minify), W3 Total Cache, WP Super Cache, WP Fastest Cache, Autoptimize, FlyingPress, WP‑Optimize, Cache Enabler, Breeze, SG Optimizer, Hummingbird, Comet Cache, Swift Performance, Powered Cache, Nginx Helper, Varnish (Proxy Cache Purge), and Cloudflare APO / Super Page Cache.
- Warming priority (PRO): under Settings → Warming Order, enable "Warm popular WooCommerce products & categories first" (top‑200 by sales) and optionally connect Yandex Metrika priority (counter ID + OAuth token with read-statistics scope).
loop-{id}.css and post-{id}.css share _elementor_css and return 404 after a cache purge). Uses a fast is_file() && filesize() > 0 path (0 DB queries on 99.99% of requests) with a 10-minute cooldown.
3. Form & WooCommerce protection against WP Nonce expiration (v1.6.1)
A standard WordPress WP Nonce is guaranteed valid for at least 12 hours (12 h tick, 24 h maximum), whereas LiteSpeed Cache defaults public page TTL to 7 days (604,800 s) — and OpenLiteSpeed does not include paid ESI for automatic nonce refresh. As a result, visitors run into "Security error" failures when submitting contact forms or checking out as guests in WooCommerce. In Cache Warmer v1.6.1, this is fixed automatically across all plans (including FREE):
- Automatic cache TTL guard (≤ 10 hours / 36,000 s): enabled by default under Settings → Form & WP Nonce Protection. Dynamically caps public TTL for LiteSpeed Cache (via
litespeed_control_finalizeacross LSCWP 3.x–7.9+ and frontend filterlitespeed_conf_load_option_cache-ttl_*on 7.7+, without locking admin setting fields) and WP Rocket (rocket_cache_lifespan). ESI blocks remain untouched. Paired with scheduled background warming, pages stay warm (HIT) while expired nonces can never get stuck in cache. - Extended guest
nonce_life(48 h, 24 h tick): applies strictly to unauthenticated visitors (!is_user_logged_in()) on the frontend, AJAX (admin-ajax.php), and REST API. Logged-in accounts andwp-adminstay on the default 24 h lifetime. Combined with TTL ≤ 10 h, guests retain at least 14 hours of safety margin even on browser tabs left open overnight. - Live TTL diagnostics (8 cache plugins) & 1-click LiteSpeed fix: the Overview (Site & Cache card), Settings, Diagnostics tabs, and
wp cache-warmer statusreport live TTL health across LiteSpeed, WP Rocket, WP Super Cache, Cache Enabler, Breeze, WP‑Optimize, FlyingPress, and W3TC. Clicking "Write 10 h to LiteSpeed" updatescache-ttl_pubandcache-ttl_frontpagethrough LiteSpeed's official API and purges stale 7-day pages.
cwp_nonce_max_ttl (default 36000 s) and cwp_guest_nonce_life (default 172800 s).4. All WP‑CLI commands (including purge), Deploy Webhook & reports
For CI/CD pipelines, system cron, and SSH operations without PHP‑FPM timeouts, use the built-in WP‑CLI commands:
| WP‑CLI command | Action & supported flags |
|---|---|
wp cache-warmer warm | Starts cache warming with a live progress bar. Flags: --limit=N, --background (background mode, LITE/PRO), --errors (retry failed URLs from last run), --force (run even if paused). |
wp cache-warmer purge | Universal purge across all active systems out of the 18 supported caches (including the HMAC HTTP relay for LiteSpeed CSS/JS and external Memcached/Redis Object Cache) plus instant homepage warming. Flags: --dry-run (safe check without purging), --no-warm (purge only), --builders (also safely refresh Elementor, Divi, Beaver Builder, and Gutenberg CSS via web PHP). |
wp cache-warmer status | Displays progress, warmed, cached, errors, mobile_ok/err, variants_ok/err, plus cache_ttl, nonce_ttl_guard, and guest_nonce_hours. Flag: --format=json. |
wp cache-warmer stop | Gracefully stops an active warming run and releases locks. |
wp cache-warmer process | Executes a single background warming step — add to system crontab (* * * * *) if your host blocks loopback HTTP requests. |
wp cache-warmer purge --dry-runwp cache-warmer purge && wp cache-warmer warm --backgroundwp cache-warmer status --format=json* * * * * cd /path/to/site && wp cache-warmer process >/dev/null 2>&1Deploy webhook & notifications (PRO)
- Deploy webhook: enable under Automation → Deploy Webhook and trigger the secret URL from CI/CD:
curl -fsS "https://your-site.com/?cwp_hook=YOUR_TOKEN". HTTP status codes:202— queued in background,409— already running or paused,403— invalid token or PRO required,429— rate-limited to once per minute. - "Warming Impact" report & alert channels: measures cache hit ratio (
HIT %), averageMISSvs.HITlatency, and net TTFB savings in ms. Sends reports to Email, Telegram (custom relay URL supported if the server cannot reachapi.telegram.org), and any generic JSON webhook (Slack, Discord, Microsoft Teams, Mattermost). - Broken-link alerts & SSRF protection: reports
404/500URLs discovered during warming; every request validates DNS A/AAAA records, blocks private IP ranges and blind redirects, and always excludes WooCommerce cart, checkout, and My Account endpoints.
Frequently asked questions & troubleshooting
Will cache warming overload shared hosting — especially with currency variants and mobile mode?
No. You control concurrency (2–3 parallel requests on shared hosting, 5–10 on a VPS), inter-batch pause, and a Load Average cutoff. Even when mobile warming and all 6 cache variants are enabled, outgoing requests are strictly chunked so parallel connections never exceed your configured batch limit.
How do I warm different currencies and languages (WPML, Polylang, WOOCS, WCML)?
In PRO, open Settings → Cache variants: languages, currencies & Accept and add up to 6 lines formatted as Label | cookie=value (e.g., USD | wcml_client_currency=USD) or Label | lang:en-US for the Accept-Language header.
Do I need extra configuration for LiteSpeed CSS auto-update protection?
No. The signed HMAC HTTP relay for X-LiteSpeed-Purge is built into Cache Warmer, enabled by default on all plans (including FREE), and runs automatically. You can test it without flushing live cache via Diagnostics → Maintenance → LiteSpeed CLI / Cron → Test or by running wp cache-warmer purge --dry-run.
How can I purge all caches and immediately warm the homepage from a deployment script?
Run wp cache-warmer purge over SSH (optional flags: --dry-run for a safe check, --no-warm to skip homepage warming, or --builders to safely refresh Elementor, Divi, Beaver Builder, and Gutenberg CSS via web PHP). The command flushes all 18 caching systems, LiteSpeed CSS/JS, and Memcached/Redis Object Cache, then immediately warms the homepage.
Which 18 caching systems are supported?
LiteSpeed / OpenLiteSpeed, WP Rocket (page + minify), W3 Total Cache, WP Super Cache, WP Fastest Cache, Autoptimize, FlyingPress, WP‑Optimize, Cache Enabler, Breeze, SG Optimizer, Hummingbird, Comet Cache, Swift Performance, Powered Cache, Nginx Helper, Varnish (Proxy Cache Purge), and Cloudflare APO / Super Page Cache — plus Object Cache (Memcached/Redis) synchronization and selective CSS purges for Elementor, Divi, Beaver Builder, and Gutenberg theme.json.
Why is the extra Legacy Accept warming pass useful?
When your server delivers AVIF/WebP via the Accept header (e.g., with Media Optimizer), standard warming creates cached copies for modern browsers. Enabling Legacy Accept preloads an additional copy without image/avif or image/webp for older browsers and crawlers.
What should I do if background warming doesn't start on my hosting?
On the Automation tab, click "Test background launch". If your host blocks loopback HTTP requests from the server to itself, add * * * * * cd /path/to/site && wp cache-warmer process >/dev/null 2>&1 to your system crontab — background warming will run reliably without loopback calls.
Why do forms show a "Security error" on OpenLiteSpeed / LiteSpeed Cache and how does Cache Warmer fix it?
LiteSpeed Cache defaults to caching pages for 7 days, whereas a WordPress WP Nonce lives at least 12 hours (and OpenLiteSpeed lacks ESI for refreshing nonces). In v1.6.1 across all plans (including FREE), Cache Warmer automatically caps cache TTL at 10 hours (36,000 s), extends guest nonce_life to 48 hours (leaving wp-admin untouched), and offers a 1-click button to write 10 h into LiteSpeed settings and purge stale cache.
How can I view statistics specifically for cache variants?
In the activity log and CSV export, variant requests are marked with type variant, and running wp cache-warmer status [--format=json] outputs separate variants_ok and variants_err counters.
