xCloud’s page cache, layer by layer: WooCommerce basket pages in 0.03 s with the Cache Upgrader Kit

Dave Hilditch •

The first store to buy my Cache Upgrader Kit, ArredoItaliano, runs on xCloud. The owner normally hosts on GridPane and moved this store to xCloud as an experiment, partly because the xSpeed page cache and Cloudflare Enterprise come built in. In his words: “GridPane is so solid, even considering trying this made me a bit nervous.” His verdict after the move: “massively fast for WP in my tests”.

The kit needed almost nothing from xCloud’s side, so I read xSpeed’s code to see why. This is what xCloud built, and what the store’s basket pages measure with and without the kit.

ArredoItaliano’s stack

ArredoItaliano is an Italian furniture store selling to Italy, France, Germany and Spain, with prices that differ per visitor across those four markets. It runs on:

  • xCloud, on a Proxmox VM with a Ryzen 7 9700X, on a server the owner manages himself;
  • xSpeed (xSpeed Cache) as the page cache, with Nginx managed by xCloud;
  • Cloudflare Enterprise in front, through xCloud’s add-on.

xSpeed is made by WPDeveloper, and xCloud describes itself as “a WPDeveloper creation”. That shows in how they fit: xCloud writes xSpeed’s Nginx rules for you, and xSpeed hands its purges to xCloud’s Cloudflare plugin.

One cached copy, four places to serve it from

xSpeed is a single page cache. It writes each page to disk once, as an HTML file. Nginx and xSpeed’s drop-in are two ways of reading that file: Nginx without starting PHP, and the drop-in for the requests Nginx hands on, such as an allowed tracking parameter or a browser checking whether its copy is still current. Cloudflare keeps its own copy at the edge. A request works down this list until something has the page:

How a page reaches a shopper on xCloud

Cloudflare Enterprise, at the edge
xCloud’s add-on puts a domain on Cloudflare’s Enterprise network for $5 per domain per month, with no Cloudflare account of your own and no nameserver change. It keeps whole HTML pages in 330+ cities, not just images and scripts, and carts, checkout and logged-in sessions bypass it automatically.
Nginx, straight from disk
When you pick xSpeed on an xCloud site, xCloud writes the matching Nginx rules, so a cached page is served from disk without starting PHP. The rules check the visitor’s cookies, xSpeed’s excluded URLs and whether a cached file exists, and the response says X-XSpeed-Cache: HIT (nginx). Change an exclusion in xSpeed and xCloud’s Re-sync Nginx Configuration button updates the server rules.
xSpeed’s drop-in, before WordPress loads
If Nginx doesn’t serve it, xSpeed’s advanced-cache.php drop-in serves the stored page before WordPress boots. The response says HIT (php).
WordPress
Only then does WordPress run. xSpeed makes its full decision here, with logged-in checks, per-post rules and its public xspeed_should_cache filter, then builds and stores the page for the next visitor. The response says MISS, or BYPASS when the page shouldn’t be cached.

Five things xCloud and xSpeed get right

Every response names the layer that answered. xSpeed sends X-XSpeed-Cache on every response: HIT (nginx), HIT (php), MISS or BYPASS. A miss and a deliberate bypass used to come back with no header, impossible to tell apart with curl -I, so xSpeed now labels both. On ArredoItaliano every cached load I timed came back cf-cache-status: HIT and x-xspeed-cache: HIT (nginx).

Hits that never reach PHP are still counted. The Nginx rules log every cache hit to a file, so the hit ratio in xSpeed’s dashboard includes pages Nginx served on its own. The rules also carry a version header, so xSpeed can tell when the server is running an old copy of them.

A purge reaches Cloudflare too. With the Cloudflare Enterprise add-on, xCloud installs a small purge plugin and xSpeed passes its purges to it: the pages it clears, or the whole domain for “Purge all”. xSpeed never holds a Cloudflare token; xCloud’s plugin uses its own credential. Without this, clearing xSpeed’s copy would leave Cloudflare serving the old page.

The edge only keeps pages xSpeed has already served from cache. xSpeed tells a CDN to hold a page only on a HIT, never on a page it refused to cache and never on the first render.

There’s a cart option, with an honest warning. Since 1.4.7 xSpeed has “Cache pages for shoppers with a cart”, off by default, which keeps one cached copy per basket. Its description says: “Leave this off if your pages show anything else personal, such as prices by location.” ArredoItaliano’s prices vary per visitor, which is exactly the case the kit handles.

Basket pages: 0.79 to 1.01 s before the kit, 0.03 s after

Without the kit, every layer steps aside as soon as a visitor has a basket: xSpeed and its Nginx rules skip woocommerce_items_in_cart and any cookie starting woocommerce_, and Cloudflare bypasses carts and logged-in sessions. That’s the correct default, because a page cache can’t tell which parts of a page are personal. It also means every page a shopper opens after adding to the basket is built from scratch by WordPress.

The kit changes the request, not the cache. WooCommerce’s basket flag cookies are never set, the basket session and login cookies get new names, Super Speedy Ajax fills in each visitor’s prices, basket and account menu after the cached page loads, and the customer’s AI agent runs the kit’s safety checks until nothing personal is left in the shared page. How the Kit Works has the detail.

I measured ArredoItaliano’s live store from Greece at 22:04 UTC on 16 November 2026, with one item in the basket. Each figure is the median time to first byte of three loads:

32 ms
Home page, from the cache (791 ms with the cache bypassed)
34 ms
Shop page, from the cache (1,008 ms bypassed)
29 ms
Product page, from the cache (859 ms bypassed)
25-30x
Faster with an item in the basket

The bypassed figures are how a basket was served before the kit. A shopper with something in the basket now gets each page in about 0.03 s, from Cloudflare and xSpeed’s cache, the same as anyone browsing. These are one store’s figures from one place at one moment, time to first byte rather than full page load. Logged-in customers aren’t measured yet; the account page is never cached and took 0.67 to 0.72 s throughout.

Before the kit, a page with something in the basket couldn’t be cached anywhere on this stack. Now Cloudflare Enterprise serves it from the edge, close to the shopper.

Why the kit needed no xCloud changes

The kit doesn’t reconfigure xSpeed, Nginx or Cloudflare. Their rules match cookie names, and the renamed cookies don’t match, so xCloud’s Nginx and the Cloudflare add-on needed no changes. Two things in xSpeed did the rest.

The X-XSpeed-Cache header makes xSpeed observable. From Cache Upgrader 1.7.20 the kit’s safety checks read it and report each HIT, MISS or BYPASS.

The xspeed_should_cache filter is xSpeed’s documented way to add a caching rule without editing the plugin. ArredoItaliano’s agent found one edge case: on xSpeed 1.4.8, a request carrying the wordpress_no_cache cookie, which the kit gives shop staff so they always see live pages, could still be handed the stored page by xSpeed’s PHP path. I reproduced it on 1.4.8 and 1.4.9 and reported it on xSpeed’s support forum with a suggested patch. The xSpeed team confirmed it on 1.4.9 and released the fix in xSpeed 1.4.10 on 22 November 2026, using that approach. The agent’s own fix was a few lines on that filter, with no plugin edits and no server rules, and it’s in the kit’s recipe library from Cache Upgrader 1.7.20, which comes with the kit’s next update. The wordpress_no_cache staff marker article explains what the cookie is for.

Running WooCommerce on xCloud: three steps

  1. Keep xSpeed as your page cache. xCloud sets it up by default on new WordPress sites, writes the Nginx rules and keeps its own FastCGI page cache off, so one cache decides what’s stored.
  2. Make a staging copy. xCloud had the best staging tool when I ranked 26 WordPress control panels, where it came 4th overall with 87 out of 100: push and pull both ways, incremental or full file copy, and a full database or selected tables in either direction. Staging copies don’t use up the kit’s licence.
  3. Give the kit to your AI agent, such as Claude Code, Codex or Cursor, with your staging and live addresses. The Quick Start Guide covers the few clicks it needs from you. The agent runs the safety checks to green, moves the recipes to live, checks again there, and switches on caching for baskets and logged-in customers.

The rest of ArredoItaliano’s setup (the recipes, Stape, PayPal and Klarna, and a swatches plugin the owner replaced) is in the ArredoItaliano case study.

xCloud’s Black Friday deal runs until 4 December: a lifetime panel licence from $199, paid once, with a 14-day money-back guarantee, at xcloud.host/deal.

The Cache Upgrader Kit for WooCommerce is €149 for one site, paid once, with a lifetime Super Speedy Ajax licence for that site and a 60-day money-back guarantee.

Conditions and sources

Speeds: ArredoItaliano’s live store, measured by me from Greece at 22:04 UTC on 16 November 2026, median time to first byte of three, one item in the basket, the “bypassed” figures with xSpeed’s cache bypassed by the wordpress_no_cache cookie. One store, one moment, one location. xCloud on the owner’s own server (a Proxmox VM with a Ryzen 7 9700X), xSpeed 1.4.8, Cloudflare Enterprise through xCloud. How xSpeed works comes from its own code (versions 1.4.8 and 1.4.9 from wordpress.org) and xCloud’s documentation.

More page caches are on the series page.

Comments