How to Set Up xSpeed Cache on WordPress in 2026
Updated 27 November 2026
A slow WordPress site costs you visitors, rankings, and conversions. xSpeed Cache is ours: we build it at WPDeveloper as an all-in-one WordPress caching and performance plugin that serves pages as static files before PHP and WordPress even load, delivering cache hits in as little as 5–15ms and making pages load up to 17× faster on cache hits. A direct api.wordpress.org query on 27 November 2026 returned version 1.4.10, updated 22 November 2026, 10,000+ active installs and a 5.0 rating from 29 ratings. This guide walks you through installing xSpeed, understanding what it optimizes automatically, configuring the settings that matter most, and confirming the speed gains for yourself.
Quick summary: the five minutes that matter
| Your goal | The move | What it buys you |
|---|---|---|
| Most of the speed for little effort | Install, activate, run the setup wizard | Page caching starts when you apply a preset, not on activation |
| Something to compare against | Record a baseline first | Otherwise every later number floats free |
| A theme that still works | One optimization at a time | A conflict is obvious when one thing moved |
| Proof rather than a dashboard claim | Look at the site the way a stranger does | Your own logged-in session is exempt |
| Your old plugin’s settings | Import them before uninstalling | Several plugins delete theirs on removal |
What You’ll Need
- A self-hosted WordPress site (admin access required)
- A few minutes to install and configure the plugin
- A baseline speed measurement, taken before you activate anything
That last item is the one people skip and regret. Run a scan on your homepage now, while the site is still in its current state, so you have something to compare against later. Per the plugin’s own readme on 27 November 2026, the floor is WordPress 6.0 and PHP 7.4, and it is tested up to WordPress 7.1.5.
Step 1: Install and Activate xSpeed Cache
- From your WordPress dashboard, go to Plugins → Add New.
- Search for xSpeed Cache.
- Click Install Now, then Activate.
Once activated, xSpeed adds its own settings page to your dashboard, where all caching and optimization controls live. Our installing and activating guide covers the manual upload route if your host blocks directory installs.
Already running another caching plugin? Import its settings before you remove it. WP Rocket in particular keeps everything in a single wp_options row and deletes that row on uninstall, so migrating from WP Rocket has to happen in the right order or there is nothing left to read. W3 Total Cache and WP Super Cache are handled the same way, and importing from another cache plugin is in the free tier rather than behind Pro.
Step 2: What Activation Does, and What Turns Caching On
xSpeed is deliberately conservative on activation. It creates its cache folder, applies a small recommended starter set on a fresh install (GZIP, browser cache headers, HTML and CSS minification) and sends you to the setup wizard. It does not start page caching on its own: writing the cache drop-in and the WP_CACHE line is a change you should choose, so it happens when you apply a preset in the setup wizard or switch it on in the Page Cache panel. From then on, repeat visits, and first visits after a page is cached, load from static files instead of triggering a full PHP/WordPress/database cycle. This is where most of the initial speed boost comes from.
It also ships exclusions rather than an empty box. Our page cache documentation records 17 excluded-URL patterns in the shipped defaults, covering WordPress internals, WooCommerce and Easy Digital Downloads, so cart, checkout and account pages stay out of the page cache without anyone remembering to put them there. That is the setting most likely to cause real damage if it is left to you, and not every free caching plugin ships it: which free caching plugins actually cache checks twelve of them against their own source.
From there, you can layer on additional optimizations to push performance further.
Which Cache Layer Is Actually On, and How WordPress Decides
Most first-week confusion comes from treating “caching” as one switch. WordPress itself does not. Its own wp-config documentation states that these systems “are independent and are not all controlled by the same constant or subsystem”, and it is worth knowing which four you have before you judge a number.
| Layer | How it is installed | What it holds | Who turns it on |
|---|---|---|---|
| Page cache | wp-content/advanced-cache.php drop-in | Whole rendered pages | The Page Cache switch, which writes the drop-in and the WP_CACHE line |
| Object cache | wp-content/object-cache.php drop-in | Database, query and application objects | The Object Cache panel, independently of WP_CACHE |
| Opcode cache | PHP OPcache, in the PHP runtime | Compiled PHP bytecode | Your host, not a plugin |
| Browser cache | HTTP response headers | Assets already in the visitor’s browser | Browser cache headers, included in the free tier |
Two consequences of that table catch people out, and both are stated in WordPress’s own documentation rather than ours. The first: WP_CACHE “does not enable caching by itself”. Setting it to true makes WordPress try to load advanced-cache.php early in bootstrap, and if no such file exists, defining the constant “has little or no effect”. The second runs the other way: persistent object caching uses a separate drop-in and “may function even when WP_CACHE is not defined”, so a site can have a working object cache and no page cache at all, which is exactly what a store looks like when checkout is fast and the blog is not.
Only one plugin can own advanced-cache.php. When switching the page cache on would replace a file another plugin wrote, our documentation records that xSpeed names the owner in the confirmation first, as “Take over the page cache from WP Rocket?”, and changes nothing until you accept. Taking the file over is not the same as switching the other plugin off, so deactivate its page cache too.
Step 3: Configure the Core Performance Settings
Open the xSpeed Cache settings page in your dashboard to review and enable the optimizations that fit your site. The free version includes:
- Page, Mobile, Browser & Object Caching. Cache your content at multiple levels so both desktop and mobile visitors get fast, static responses, and repeated database queries are avoided.
- Minify & Combine CSS/JS/HTML. Strip out unnecessary characters and combine files to reduce the number of requests and the amount of code the browser has to parse.
- Lazy Load. Defer loading of images and other media until a visitor actually scrolls to them, speeding up initial page load.
- GZIP Compression. Compress your site’s files before they’re sent to the browser, cutting down transfer size.
- CDN rewrite & Cloudflare integration. Serve static assets from your CDN hostname, and purge Cloudflare’s edge whenever your own cache purges. Every Cloudflare row on our free and Pro breakdown except APO, cache level and browser TTL is ticked in both columns, so the connection itself costs nothing.
Enable each optimization one at a time and reload your site after every change. This makes it easy to spot whether a setting improves things or causes a conflict with your theme or other plugins.
Object caching deserves a note of its own. It is the setting that speeds up the pages no page cache can touch, which on a store means checkout and account pages. Pointing it at Redis? Two of the defaults that ship with the usual drop-in will stop a site the moment Redis restarts or fills up, and our Redis walkthrough fixes both in a line each.
Step 4: Confirm It Is Actually Working
Now check the result, and check it the way a stranger arrives rather than from the admin screen that just told you it worked.
Point the free xSpeed Scan at your homepage and at one real post. No account is required. It grades the caching signals in the response a browser actually receives, times the first byte, and names whichever caching plugin answered, which is how people find out the plugin they deleted last year is still running.
By hand, the signal is the x-xspeed-cache response header. Our documentation records five values: HIT (nginx) and HIT (static) when the web server returned the saved file without running PHP at all, HIT (php) when the drop-in served it, MISS when WordPress built the page and xSpeed saved it for next time, and BYPASS when the request was deliberately never cached. Our guide to reading the response yourself sorts the headers that genuinely prove a hit from the six that merely look like they do, and explains why WordPress Site Health can show a healthy page cache on a site with caching switched off.
Three things to expect from the numbers
- Sign out first. Only logged-out visitors are served cached pages, per our own page cache documentation, so an admin browser reports a miss forever and teaches you nothing.
- Go past the homepage. Home pages are frequently handled by their own rules, which is how a fast front page hides a post cache that never engaged.
- Do not wait for the Lighthouse score to move. Our study of 958 WordPress sites found median TTFB falling by 73% while LCP stayed put. A cache shortens server time and nothing else; images and third-party scripts own the rest, which is the subject of our piece on caching that did not work. Field data takes longer still: our census of CrUX coverage found how few sites have enough traffic to appear in Google’s public dataset at all, so a small site may never see its own Core Web Vitals move there.
If a page doesn’t show the improvement you expected, revisit Step 3 and confirm the relevant caching or minification setting is actually enabled for that page type. These five account for most of what goes wrong in the first week:
| What you see | Usual cause | What to do |
|---|---|---|
| A miss on every single reload | You are signed in | Retest in a private window |
| The homepage is fast, posts are not | Home pages follow separate rules | Scan a real post, not the front page |
| Layout breaks after minification | One script does not survive combining | Turn combining off, keep minification on |
| Server time dropped, the score did not | Images and scripts own the rest | Enable lazy load and image conversion |
| Two plugins both claim the cache | An old drop-in is still in place | Run one page cache, and check which one answers |
Step 5: Explore xSpeed Pro for Deeper Optimization
Once you’re comfortable with the free feature set, xSpeed Pro adds tools for teams that want to go further:
- Recommendations engine. Get specific, prioritized suggestions for improving your site’s performance.
- Composite performance score. Track a single, overall score for your site’s speed health over time.
- Frequently-missed URLs & per-URL hit/miss heatmap. See exactly which pages aren’t being served from cache so you can fix it.
- Self-healing cache. Automatically recovers from cache issues without manual intervention.
- Plugin-conflict auto-resolution. Reduces the manual troubleshooting needed when another plugin interferes with caching.
- Critical CSS. Load only the CSS needed for above-the-fold content first, improving perceived load speed.
- Cloudflare APO and edge cache settings. Serve your cached HTML from Cloudflare’s edge and set the zone’s cache level and browser TTL. APO also needs a paid Cloudflare plan.
Where the line falls, for the settings people ask about most:
| Capability | Free | Pro |
|---|---|---|
| Page, mobile and browser caching | ✅ | ✅ |
| Object caching (Redis or Memcached) | ✅ | ✅ |
| Minify and combine CSS, JS and HTML | ✅ | ✅ |
| Lazy load and GZIP compression | ✅ | ✅ |
| WooCommerce cart and checkout exclusions | ✅ | ✅ |
| Import settings from another cache plugin | ✅ | ✅ |
| Cloudflare integration and CDN URL rewrite | ✅ | ✅ |
| Critical CSS and Remove Unused CSS | ❌ | ✅ |
| Image conversion to WebP and AVIF | ❌ | ✅ |
| Cloudflare APO, cache level and browser TTL | ❌ | ✅ |
| Per-URL hit and miss heatmap | ❌ | ✅ |
| Self-healing cache and conflict auto-resolution | ❌ | ✅ |
Free is the complete toolkit and it stays free, and the split is published rather than implied: our free and Pro page states 170 features compared across 10 areas, 109 of them in the free plugin and 61 requiring Pro, a count it dates to 30 September 2026. Pro is the layer that runs the free toolkit for you.
xSpeed Pro is sold on Personal (1 site), Business (5 sites), Agency (25 sites) and Enterprise (unlimited) tiers, each available as a yearly subscription or as a one-time lifetime licence, with a 14-day money-back guarantee on both. Read the figure off the page rather than off this sentence: on 27 November 2026 our pricing page printed a Black Friday price for every tier alongside a regular price at exactly twice it, with the discount applied automatically at checkout, and a promotional figure is worth what the calendar says it is. The 80-capability comparison, re-read the same day, puts the same tier marks against eight rival plugins across 19 areas.
Running more than one site
One site is a settings page you visit twice. Fifteen client sites is a job nobody wants, because the settings drift and no one notices until a client asks why their store got slower.
xSpeed Hub is ours too, and it reports cache status, hit ratio and cached-page counts for every connected site from one place, then applies a single policy across all of them. If you run a WooCommerce store, optimizing your checkout page covers the pages that must stay out of the cache and how to make everything around them fast.
Frequently Asked Questions
I set WP_CACHE to true in wp-config.php and nothing got faster. What did I miss?
The constant on its own does nothing. WordPress’s own wp-config documentation states that WP_CACHE “does not enable caching by itself”: it makes WordPress attempt to load wp-content/advanced-cache.php during bootstrap, and where no such file exists, “defining WP_CACHE has little or no effect”. The drop-in is the cache. Turn the Page Cache switch on and it writes both the file and the constant together.
Every page I check reports BYPASS, even in a private window. Is the cache broken?
Probably not, and the usual cause is the command rather than the cache. Only GET requests are served from cache, and curl -I sends a HEAD, which our documentation notes reports BYPASS every time. Send a real GET and read the header off that: curl -s -o /dev/null -D - https://example.com/ | grep -i x-xspeed-cache.
I added /cart/* to the excluded URLs and the cart is still being cached.
Three different matchers are in play in those fields, and the glob is the strict one. Per the exclusions documentation, plain text matches anywhere in the value, so /cart also catches /cart/items and /foo/cart/bar, while a glob such as /cart/* is anchored and must match the whole value. A ~ prefix is treated as a raw unanchored regular expression. If a pattern is not firing, try it as plain text before reaching for a wildcard.
My layout broke after I turned on minification. Which setting do I undo?
Combining, not minification. Minification rewrites each file; combining concatenates several into one, and a script that depends on its own load order or on its own file boundary breaks when it is merged with others. Turn combining off and keep minification on, then reload. Layout breaks after minification works through isolating the one file responsible.
I deleted my old caching plugin and the site is still serving its pages.
A drop-in is a file in wp-content, not a plugin, and deactivating a plugin does not always remove the file it wrote. Only one plugin can own advanced-cache.php, so if a stale one is still there, the old code is still answering. Switching the xSpeed page cache on names the current owner in the confirmation before replacing it, which is also the quickest way to find out whose file it is.
Do I need Pro to get page caching?
No. Page, mobile, browser and object caching are all in the free tier, along with minification, combining, lazy load, GZIP, CDN rewriting, Cloudflare connection and the import tool. Our free and Pro page puts 109 of 170 features in the free plugin. Pro adds the heavier processing, Critical CSS and unused-CSS removal, WebP and AVIF conversion, and the measurement layer that tells you whether any of it worked.
Will xSpeed run on my host?
If the host runs WordPress 6.0 or newer on PHP 7.4 or newer, yes: those are the floors the plugin’s own readme published on 27 November 2026, and it is tested up to WordPress 7.1.5. The fastest path does depend on the server. On nginx a saved page can be returned without PHP running at all once the server config snippet is in place, and on Apache the same happens through .htaccess.
How long does a cached page stay valid?
Seven days by default. Cache Expiry ships at 168 hours and our documentation gives the permitted range as 1 to 720 hours. Purge After Updates is on by default, so a plugin, theme or core update clears the cache without being asked.
Can I run xSpeed in front of Cloudflare?
Yes, and the connection is in the free tier: zone connection and verification, authentication, API token, automatic Cloudflare purge when xSpeed purges, and development mode are all ticked in Free on our free and Pro page. Only APO, cache level and browser cache TTL are Pro, and APO additionally requires a paid Cloudflare plan of your own.
My homepage is fast and my product pages are slow. Is that a misconfiguration?
Often it is the design rather than a fault. Cart, checkout and account pages are in the shipped exclusions precisely because serving a stranger someone else’s basket would be worse than serving it slowly, and a logged-in customer is never served a cached page at all. The lever for those pages is the object cache, which holds database and query results rather than whole pages.
Does the plugin separate mobile and desktop responses?
Not unless you ask it to. Separate Mobile Cache ships off, which keeps one bucket per URL. Turn it on where a theme returns materially different markup to phones, and leave it off where the same HTML is served to everyone, because two buckets halve the hit ratio for no gain.
Is my own browsing a fair test of any of this?
No, and this is the most common reason a correct setup looks broken. Signed-in users always get a freshly built page, so your own session reports a miss forever. Test in a private window, on a page you are not editing, and read the response header rather than the dashboard.
Wrapping Up
Getting started with xSpeed Cache takes just a few minutes: install and activate the plugin, run the setup wizard to switch page caching on, turn on the free optimizations that fit your site, and confirm the results from outside your server. From there, xSpeed Pro is there if you want deeper insights and more advanced tuning.
What to do this week:
- Scan your homepage before you install anything, and write the number down.
- Install and activate xSpeed Cache, apply the Conservative preset in the setup wizard (page cache and GZIP only), then scan again.
- Turn on minification and lazy load, one at a time, reloading the site after each.
- Enable object caching, and measure a page you cannot page-cache.
- Scan one real post logged out, and confirm the
x-xspeed-cacheheader says what you expect.
Ready to speed up your site? Install xSpeed Cache and start with Step 1 today.