Switch From WP Rocket or LiteSpeed Cache to xSpeed Cache on xCloud
Updated November 30, 2026 · 6 min read
When you move a WordPress site to xCloud, it usually arrives with the caching plugin it used before: WP Rocket, LiteSpeed Cache, W3 Total Cache or WP Super Cache. xSpeed Cache, xCloud’s recommended caching plugin, can import that plugin’s settings and take over the page cache in one click. You turn xSpeed Cache on from the site’s Caching page in xCloud, then run Tools → Migration inside xSpeed Cache in your WordPress admin.
This guide is for anyone who migrated a WordPress site to xCloud and wants one cache instead of two. Migrated sites don’t get xSpeed Cache during the migration, so you add it afterwards.
What the import does
The Migration tool reads the old plugin’s saved settings and writes the matching xSpeed settings. It works with four plugins:
| Old plugin | What comes across |
|---|---|
| WP Rocket | Page cache and its lifetime, excluded URLs and cookies, minify and combine CSS and JS, defer JS, lazy loading for images, iframes, videos and CSS backgrounds, preloading with your sitemap URLs, disabled emojis and embeds, and your CDN address. |
| LiteSpeed Cache | Page cache and its lifetime, excluded URLs, cookies and user agents, dropped query strings, CSS and JS minify, JS defer or delay, lazy-loaded images and their exclusions, font display, emoji removal and browser cache. |
| W3 Total Cache | Page cache, minify, lazy loading, preloading, browser cache, compression, disabled extras and object cache settings. |
| WP Super Cache | Page cache settings. |
A few rules keep your site safe:
- It only adds. A setting that was off in the old plugin never switches off something you already turned on in xSpeed.
- Exclusion lists are merged. Your old excluded URLs and cookies are added to xSpeed’s own safe defaults, so feeds, sitemaps and the WordPress REST API stay uncached.
- Separate mobile cache stays off. Many sites had it on by habit, and it stops xSpeed from serving pages the fastest way. xSpeed flags it so you can turn it on only if your site really shows different pages on phones.
- Values xSpeed can’t take are adjusted and named. For example, a cache lifetime is rounded to whole hours (1 to 720). The preview lists anything that couldn’t come across exactly.
What it leaves out: WP Rocket’s Critical CSS and Remove Unused CSS, WP Rocket’s Defer JS exclusions, and W3 Total Cache’s encrypted Redis passwords. Enter those again in xSpeed if you need them.
Before you start
- A WordPress site on xCloud that still has its old caching plugin’s settings. The plugin can be active or deactivated: the import reads its saved settings.
- Access to the site in xCloud and to its WordPress admin (Magic Login on the site page opens it).
- A recent backup is a good idea before you change caching. See site backups.
Step 1: Open the site’s Caching page
In xCloud, open the site and click Caching under WordPress in the site menu.
Step 2: Turn on xSpeed Cache
What you click depends on the server:
- Nginx: turn on Page Caching, select xSpeed Cache, then click Save Changes.
- OpenLiteSpeed: turn on the xSpeed Cache switch and confirm the switch from LiteSpeed Cache. xCloud turns off its LiteSpeed Cache setup, which also deactivates the LiteSpeed Cache plugin. Its settings stay saved, so you can still import them in the next steps.

xCloud installs and activates the xSpeed Cache plugin and turns on its page cache. If Redis Object Cache is on for the site, turn it off: WordPress uses only one object cache, and xSpeed brings its own. How to configure xSpeed Cache covers this page in detail.
If WP Rocket or LiteSpeed Cache is still active, xSpeed won’t turn its own page cache on next to it. That’s expected: Import & switch to xSpeed in Step 5 switches the old plugin off, and the result tells you if the page cache still needs turning on.
Step 3: Open Tools → Migration in xSpeed Cache
Click Magic Login to open the WordPress admin. Click xSpeed Cache in the admin menu, then Tools in xSpeed’s own menu, and open Migration.
Each supported plugin has a row. The one with saved settings shows Detected and how many settings it imports, for example “Detected — imports 10 settings”. Plugins with nothing to import show “Not installed (or settings not present)”. If you just changed something, click Re-scan.

Step 4: Preview what will change
Click Preview on the detected plugin’s row. The Translation preview lists each xSpeed setting the import will write and its value, grouped by area (Page Cache, Minify, Lazy Load and so on). Nothing is saved yet.

If a yellow note says Some values could not be imported exactly, read it. It names each value that is rounded or left out.
Step 5: Import and switch to xSpeed
Click Import. xSpeed asks how to handle the old plugin, with three choices:
- Import & switch to xSpeed imports the settings and deactivates the old plugin. Choose this one in most cases.
- Import settings only imports the settings and leaves the old plugin running, for example to compare before you switch. Deactivate it yourself afterwards from Plugins.
- Cancel changes nothing.
On OpenLiteSpeed servers LiteSpeed Cache is already off after Step 2, so both buttons give the same result and the row reads Imported · plugin deactivated.

The settings are imported either way, and the old plugin’s own settings stay saved.
Step 6: Check the result
A green message, Imported settings from LiteSpeed Cache (or the plugin you imported), confirms the import. It also says whether the page cache is on:
- “The page cache is on and served the home page from cache”: you’re done.
- “The page cache is on. A cached home page could not be confirmed yet”: this is normal for a few seconds. Load the home page again in a private window.
- “The page cache is not on yet: turn it on in Page Cache”: open Cache → Page Cache in xSpeed Cache and turn it on. This happens when the old plugin was still serving pages when xSpeed was turned on.
The row now reads Imported · plugin deactivated (or just Imported if the old plugin is still active, for example after Import settings only on a server where it was still running).
Load the home page twice in a private window. The second load should be noticeably faster. To confirm the page came from the cache, run the header check under For developers.
If something goes wrong
- The row says “Not installed (or settings not present)”. The old plugin’s settings aren’t in this site’s database. This happens when a migration tool skipped plugin settings, or the plugin was deleted with its data. Set xSpeed up by hand with the best xSpeed Cache settings.
- Pages look stale or logged-in content shows to visitors. Two page caches are probably running. Check Plugins in WordPress and deactivate the old caching plugin, then click Purge all in xSpeed Cache.
- You want the old plugin back. Turn xSpeed Cache off on the site’s Caching page in xCloud, then activate the old plugin from Plugins. Its settings are still there.
For developers
The same import runs from WP-CLI, for example through the web terminal or SSH:
wp xspeed migrate status
wp xspeed migrate preview --source=litespeed-cache
wp xspeed migrate apply --source=litespeed-cache --deactivate-source
Sources are wp-rocket, w3-total-cache, wp-super-cache and litespeed-cache. Without --deactivate-source, apply leaves the old plugin active and warns that two page caches are running.
To check the cache from the command line, run this twice:
curl -s -o /dev/null -D - https://example.com/ | grep -i x-xspeed-cache
The second run shows HIT, or HIT (nginx) when Nginx serves the page from disk without starting WordPress. Use a normal GET as above: a HEAD request (curl -I) returns BYPASS.
Frequently asked questions
Do I lose my WP Rocket or LiteSpeed Cache settings when I switch?
No. xSpeed Cache reads them and sets the matching xSpeed options. Import & switch to xSpeed only deactivates the old plugin; its settings stay saved, so you can turn it back on if you need to.
Can I keep WP Rocket or LiteSpeed Cache running next to xSpeed Cache?
Not for page caching. Two page caches on one site break each other, so xSpeed Cache won’t turn its page cache on while another plugin’s page cache is active. Use Import settings only if you want to compare first, then switch the old plugin off.
Does the import cost anything?
No. The Migration tool is part of the free xSpeed Cache plugin, and xSpeed Cache comes with your xCloud plan.
Which settings are not imported?
Features that work differently in xSpeed are left out, such as WP Rocket’s Critical CSS and Remove Unused CSS, and WP Rocket’s Defer JS exclusions. Separate mobile cache is never turned on by the import. Encrypted Redis passwords from W3 Total Cache can’t be read, so you enter them again.
If you run into any issues, feel free to reach out to our support team.