# CacheBoost for WordPress & WooCommerce — Automatic cache warming after every update

> Install the CacheBoost Warmer plugin and your WordPress or WooCommerce cache warms automatically after every post save, plugin update, or product change.

Source: https://www.cache-boost.com/wordpress.md
Language: en

---



## CacheBoost for WordPress & WooCommerce

Automatic cache warming after every post save, plugin update, product change, or theme switch — without touching your server.

CacheBoost integrates with WordPress and WooCommerce via a lightweight plugin or the REST API. When content changes, CacheBoost immediately re-warms the affected pages so visitors always hit a hot cache.

## The problem: stale and cold caches

WordPress and WooCommerce sites flush their cache constantly — on every post save, product update, plugin upgrade, or theme change. Each flush exposes your visitors to cold pages:

- **Slow first byte** — The first visitor after a flush pays the full PHP/database generation cost.
- **SEO impact** — Googlebot and Core Web Vitals measurements degrade on cold pages.
- **Lost conversions** — Every 100ms of latency costs up to 1% in conversions on e-commerce pages.

## Two integration paths

### Path 1 — WordPress plugin (recommended)

Install the CacheBoost Warmer plugin from the WordPress.org directory. Zero configuration: the plugin automatically detects your cache layer (WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, and more) and triggers a warm after every relevant event.

**Installation:**
```
wp plugin install cacheboost-warmer --activate
```

Or search "CacheBoost Warmer" in your WordPress admin under Plugins → Add New.

After activation, enter your CacheBoost API key in Settings → CacheBoost Warmer.

### Path 2 — REST API

Call the CacheBoost REST API directly from your theme's `functions.php` or a custom plugin. Full control over which events trigger a warm and which URLs are targeted.

```php
add_action('save_post', function(int $postId): void {
    if (wp_is_post_revision($postId) || wp_is_post_autosave($postId)) return;
    wp_remote_post('https://api.cache-boost.com/v1/boosts/YOUR_BOOST_ID/run', [
        'headers' => ['Authorization' => 'Bearer YOUR_API_KEY'],
        'body'    => json_encode(['urls' => [get_permalink($postId)]]),
    ]);
});
```

## WordPress hooks covered by the plugin

The plugin listens to these native WordPress events:

- `save_post` — Post/page published or updated
- `deleted_post` — Post or page deleted
- `edit_term` — Category, tag, or custom taxonomy updated
- `switch_theme` — Theme activated
- `wp_update_nav_menu` — Navigation menu updated
- `customize_save_after` — Customizer changes saved
- `upgrader_process_complete` — Plugin or theme updated

WooCommerce hooks (when WooCommerce is active):

- `woocommerce_update_product` — Product updated
- `woocommerce_new_product` — New product created
- `woocommerce_product_set_stock` — Stock level changed

Third-party cache plugin hooks (auto-detected):

- `after_rocket_clean_domain` — WP Rocket full-cache flush
- `w3tc_flush_all` — W3 Total Cache full flush
- `litespeed_purge_all` — LiteSpeed Cache full purge

## How warming works

1. WordPress event fires (e.g. `save_post`)
2. Plugin or API call notifies CacheBoost
3. CacheBoost queues the affected URLs
4. Distributed booster agents crawl the URLs from your chosen regions
5. Cache is hot before the next visitor arrives

## Features

- **Multi-region warming** — Warm from France, USA, Germany, UK — fills CDN edge caches worldwide.
- **Compatible with all cache layers** — Cloudflare, Varnish, Redis, WP Rocket, LiteSpeed, W3TC, and more.
- **User-agent variations** — Warm desktop, mobile, and bot cache buckets independently.
- **WooCommerce stock warming** — Re-warms product pages when inventory changes.
- **No server-side dependencies** — Warming runs on CacheBoost infrastructure, not your hosting.
- **Email reports** — Summary after each warming run: URLs hit, errors, cache HIT ratio.

## Pricing

- **Free** — 500 URLs/month. No credit card required.
- **Starter — €9/month** — 10,000 URLs/month. 1 region.
- **Pro — €29/month** — 100,000 URLs/month. All regions. WooCommerce hooks.
- **Unlimited — €79/month** — Unlimited URLs. All regions. Priority warming.

Start free: https://www.cache-boost.com/try

## Frequently asked questions

**Does it work with WP Rocket, LiteSpeed Cache, and W3 Total Cache?**
Yes. The plugin auto-detects these plugins and hooks into their purge events so warming starts immediately after any cache flush.

**Does it work with Cloudflare?**
Yes. CacheBoost sends real HTTP requests that populate Cloudflare's edge cache, just like a real visitor would.

**Will it slow down my WordPress admin?**
No. Warming requests are dispatched asynchronously after the WordPress action completes. There is no impact on save times.

**Can I warm only specific pages instead of the full site?**
Yes. The API path gives you full control over which URLs are warmed. The plugin warms the specific post/product URL plus its parent archive pages.

**Does it work with headless WordPress (REST API / WPGraphQL)?**
Yes. Point CacheBoost at the sitemap of your front-end domain. The plugin triggers a full-site warm after content updates.

**What if I have thousands of products?**
CacheBoost handles multi-level XML sitemaps with no URL limit. For WooCommerce stores with large catalogs, use the Unlimited plan.

See: https://www.cache-boost.com/wordpress



---

**CacheBoost** — Automatic cache warming for faster websites.

- Website: https://www.cache-boost.com
- Full content (all pages): https://www.cache-boost.com/llms-full.txt
- LLM index: https://www.cache-boost.com/llms.txt
- Documentation: https://www.cache-boost.com/support/getting-started/introduction
- Start free: https://www.cache-boost.com/try
