30x faster basket pages: how ArredoItaliano got every shopper served from the cache

Dave Hilditch •

ArredoItaliano, an Italian furniture store, bought my Cache Upgrader Kit for WooCommerce on 13 November. By 15 November their shoppers with something in the basket, and their logged-in customers, were getting cached pages on the live store. That same day the owner left this review on the product page:

“Brilliant. There’s enough guidance and structure to allow for custom work and get to a great working result that is both flexible and maintainable. Very happy with this. The website is FAST, even if you add products to the cart, and it’s still as complex as it was before.”

Their AI agent did the work, and afterwards it wrote me an implementation report: what it fixed, where the owner stepped in, and what it found wrong in my plugins. Everything quoted below is from that report, in the agent’s own words.

An Italian furniture store whose cache gave up at the basket

ArredoItaliano sells to Italy, France, Germany and Spain, and runs:

  • Etch and Woo4Etch for the front end, ACF, and 40 custom snippets in WPCodeBox;
  • product bundles, variation bundles and a frequently-bought-together picker;
  • a wishlist and forms;
  • Stape for tracking;
  • PayPal, Stripe and Klarna;
  • xCloud hosting with its xSpeedCache page cache and Cloudflare Enterprise in front, on a Proxmox VM with a Ryzen 7 9700X.

Their cache, like most, stopped caching for a shopper the moment they added to the basket or logged in, because it can’t tell which parts of a page are personal. Every one of those plugins can put something personal into a page: a security token, a basket total, a visitor ID, a cookie.

ArredoItaliano product page with one item in the basket, built from scratch in 0.92 seconds before the kit
Before the kit: the product page with one item in the basket, built from scratch in 0.92 s.

How the kit makes basket pages safe to cache

Super Speedy Ajax fills in each visitor’s own details after a cached page loads, and Cache Upgrader keeps the personal content out of the page the cache shares. The customer’s own AI agent runs the safety checks, page by page, as a guest, a shopper with a basket and a logged-in customer. Whatever personal content it finds, it fixes with a recipe, from my library or written for that site, then checks again until everything passes. The details are in How the Kit Works.

The owner chose to work on the live store in TEST mode rather than on a staging copy, so shoppers saw nothing change until he switched it on. The kit’s price check found that prices differ between shoppers on this store, so they’re filled in per visitor.

11 recipes, two snippet edits and one replaced plugin

The agent switched on the library recipes that matched their plugins and wrote 11 recipes of its own. They fell into a handful of problems.

Tracking. Stape needs each visitor’s ID and basket data to be their own, and ready before its queued events fire. The agent’s recipes keep a returning visitor’s ID, give new visitors their own, and restore the basket and user data first. It proved them with two browsers side by side.

Payment buttons. My PayPal recipe was pinned to exactly PayPal Payments 4.2.0, and the store ran 4.2.2, so it quietly did nothing: the product-page PayPal amount changed depending on whether the visitor had a basket. The agent wrote its own version for 4.2.2. Stripe needed a small fix through Stripe’s own eligibility hook.

Scripts that read a token too early. This is the one I’d warn anyone doing this by hand about. Refreshing a security token after the page loads is no use if a script read the old one as it started. PayPal, Woo4Etch and Klarna all did. The safety checks had passed by then, and it took a focused test to show it:

“One focused customer test found Klarna returning 403 while PayPal returned 200, even though a general safety run had already been GREEN.”

The fix puts the real values back before those scripts start. Afterwards PayPal, Woo4Etch and Klarna all accepted their requests.

The cache itself. A request carrying xSpeed’s wordpress_no_cache marker could still be handed a cached page. The response headers looked private, but:

“Comparing the body hash and render token showed that the same stored body was still being served.”

The agent read xSpeed 1.4.8’s code and fixed it with xSpeed’s own xspeed_should_cache filter, without editing the plugin or adding another server rule.

Private pages. The withdrawal form page was missing from the private-page list, so a logged-in customer could have been shown the guest version. The agent found it by checking every published page, WooCommerce endpoint and snippet, then added the missing paths. It also spotted that testing only with signed audit links would have hidden the problem, and tested the plain URLs too.

A stray cookie. Smart Image Resize Pro 1.18.1 set an _http_accept cookie even with WebP switched off, and a page that sets a cookie doesn’t get cached. The plugin still pads product images and stops upscaling, so it stayed, and a recipe drops just that one cookie.

The best fix was removing a plugin, not patching it

The agent wrote that the owner “repeatedly brought me back to the underlying problem when I was heading towards another compatibility fix”. The best example was the swatches.

Their old Variation Swatches plugin sent its first request with an empty security token, got refused, then retried and worked. The agent had a recipe ready to hold that request back. The owner asked whether the swatches plugin was worth keeping at all. It wasn’t: with his go-ahead, the agent rebuilt the swatches as an Etch component from the store’s existing ACF materials, textures and colours. WooCommerce still works out the variation, price and stock, and all 152 variable product pages passed the checks. In the agent’s words:

“I sometimes treated the existing plugin stack as fixed and went straight to making it compatible.”

I’ve put that lesson into the kit’s instructions for the next update: before writing a recipe, the agent asks what the plugin still does for the store, and puts the owner’s options to them first.

Three bugs it found in my own plugins, all fixed

  1. A recipe could be switched on and do nothing. Eight of my library recipes, the PayPal one included, only ran on the exact plugin version I’d tested. The owner pushed back here: an ordinary update shouldn’t mean editing version numbers. Every library recipe now runs on the version it was tested against or any newer one, checking that what it needs is still there, and the recipe list says when a recipe is on but skipped, and why.
  2. Ultra skipped a pricing step. Ultra AJAX (the fastest way of filling in prices, which loads only what pricing needs) missed an action that the normal route runs first. So in testing, visitors from the UK and the US got Italian prices. The store’s real markets all checked out, and the agent wrote its own fix in the meantime. Fixing that turned up a second Ultra problem, which I’ve fixed too: Ultra only loaded the kit’s plugin if someone had ticked it.
  3. A safety check failed every kit store on Ultra. It failed whenever any per-visitor region existed, even ones Ultra fills perfectly well, like the kit’s own. That was the one failure left in their final report, and the agent left it showing rather than call the run green. The check now fails only for a region Ultra really can’t fill, and names it.

All of these are fixed, and the fixes are in the next update of both plugins.

Since going live he’s added Cloudflare Turnstile to stop spam, and it needed no recipe. It does print a random ID into every page, so the safety checks show it as a warning (a difference between two renders, not a failure), and he’s treated it as harmless.

Live, with basket and logged-in shoppers on cached pages

  • Live with caching on for shoppers with a basket and for logged-in customers, with Cloudflare and Nginx serving cached pages.
  • Two visitors at once got the same cached page and their own separate baskets.
  • Prices matched in all four markets.
  • 12 of 12 bundle purchase tests passed, a 12-line mixed basket went through checkout, and the frequently-bought-together picks matched the basket.
  • Search metadata, prices, structured data and pagination came through unchanged across 40 pairs of URLs.

The agent also timed the request that fills in each visitor’s prices after the cached page loads, for 12 products in each market, fastest of five. Normal AJAX runs the whole of WordPress for it; Ultra loads only what pricing needs:

MarketNormal AJAXUltra AJAX
Italy305 ms184 ms
France273 ms179 ms
Germany298 ms185 ms
Spain260 ms185 ms

That’s the one per-visitor request, measured by their agent on their live store, not page load time. The pages themselves come straight from the cache.

Basket pages went from about 1 second to 0.03 s

I went and measured it myself, from Greece, on the evening of 16 November 2026, with one real visit: the product page, one item into the basket, then the home page and the product page again.

The same ArredoItaliano product page with the same basket, served from the cache in 0.03 seconds with the kit
With the kit: the same page with the same basket, from the cache in 0.03 s.

Each figure is the time to first byte, the median of three loads:

PageBrowsingBasket, before the kitBasket, with the kit
Home0.03 s0.79 s0.03 s
Shop0.03 s1.01 s0.03 s
Product0.04 s0.86 s0.03 s
My account0.67 s0.71 s0.72 s

So a shopper with something in the basket now gets the same 0.03 s pages as someone browsing, about 25 to 30 times faster than before the kit. The account page is never cached (it’s personal to each customer), so it’s the same in every column. I haven’t measured logged-in customers yet; that needs a customer login, and I’ll add the row when I have one.

Cloudflare now caches basket pages at the edge too

This is my favourite part. Before the kit, a page with something in the basket couldn’t be cached anywhere: not by xSpeedCache on the server, and not by Cloudflare at the edge. Now that those pages are safe to share, Cloudflare Enterprise serves them from the edge too, close to the shopper, like any other page.

So the kit didn’t replace his caching, it let every layer of it cache the pages it used to give up on. As the owner put it, the gains compound: “CF Enterprise caching the full page that can now happen with carts in it, for example, makes things faster thanks to both Cloudflare and Cache Everything/SSAjax.” If you want Cloudflare caching your own pages at the edge, the options and what each costs are in Full-Page Edge Caching with Cloudflare.

His hosting: xCloud, Cloudflare Enterprise and a Ryzen 7 9700X

You’ll want to know what it runs on, so here’s his stack:

  • xCloud hosting, with its xSpeedCache page cache and xCloud-managed Nginx;
  • Cloudflare Enterprise in front, which comes with xCloud;
  • a Proxmox VM on a server he manages himself, with a Ryzen 7 9700X.

In his words, it’s “massively fast for WP in my tests”.

It’s also new for this store. His usual stack is GridPane with Object Cache Pro, FlyingPress and ShortPixel, and he moved this store to xCloud as an experiment, partly because xSpeedCache and Cloudflare Enterprise come built in: “GridPane is so solid, even considering trying this made me a bit nervous.”

A fast server makes every page faster, but it doesn’t change what the kit fixes. Before the kit, a page with something in the basket was still built from scratch on every request, 0.8 to 1.0 s even on this hardware. The kit is what lets those pages come from the cache, and that works the same on any host.

Getting the same on your store

It’s worth doing: on another store I measured, adding one item to the basket made pages 28 to 32 times slower (0.08 s to 2.1-2.4 s), and those are the shoppers about to pay. Here it took 11 custom recipes, two snippet edits, a replaced plugin and a lot of re-checking. Most of that work is finding what’s personal on a page, and most of it doesn’t show up in a general check. If your store has a similar stack and your cache steps aside the moment someone adds to the basket, the kit gives your AI agent the checks, the recipes and the instructions to do it: Cache Upgrader Kit for WooCommerce.

Afterwards I asked the store’s AI agent seven questions about the job: what was hardest, where it went wrong and what it would change in the kit. Its answers, and the checks I built into Cache Upgrader 1.8.0 because of them, are in I interviewed a customer’s AI agent, then built what it told me into the Cache Upgrader Kit.

Comments