Most WordPress pages are the same for every visitor, yet WordPress rebuilds them on every request. LSCache fixes that by storing the finished page, and unlike many caching plugins it works inside the LiteSpeed web server itself, so a cached request never touches PHP at all.
How it works
- The first visitor requests a page and WordPress builds it as usual.
- The server stores a copy in its cache, with tags linking it to the post or category.
- Later visitors get the stored copy straight away.
- When you edit a post, the plugin purges only the pages linked to it.
Pages for logged-in users, and the WooCommerce cart, checkout and account pages, are not cached for everyone because their content is personal.
Example: is the cache working?
Check the response headers from your computer:
curl -I https://example.com/
Look for this line:
x-litespeed-cache: hit
hit means the page came from cache; miss means it was just built and will be cached for the next request. You can see the same header in your browser’s developer tools, under the Network tab.
Settings worth knowing
| Setting | Advice |
|---|---|
| Enable Cache | Turn it on; it’s the core of the plugin |
| CSS/JS Minify | Usually safe; test the site afterwards |
| CSS/JS Combine | Can break layouts; enable with care |
| Lazy Load Images | Helps on long pages |
| Image Optimization | Relies on the QUIC.cloud service |
Common problems
- Broken layout after enabling it: turn off CSS and JS combining, then purge the cache.
- Visitors see old pages: purge everything with Purge All.
- Conflict with another cache plugin: keep only one plugin doing page caching.
- A contact form fails on a cached page: some forms rely on a short-lived security token (nonce) that expires, so exclude that page’s URL from caching under the plugin’s Excludes section.
On ArabyHost
The web server on ArabyHost is LiteSpeed, so LSCache’s full-page cache works out of the box with no extra server setup, and the LiteSpeed Cache plugin is available with the one-click WordPress and WooCommerce installs. Enable it, follow the WordPress speed guide and measure the result with TTFB. See the WordPress plans.
FAQ
Does LiteSpeed Cache work on any host?
Full-page caching needs a LiteSpeed or OpenLiteSpeed server, or the QUIC.cloud service. The other optimization features, such as CSS minification and lazy-loading images, work on any server.
Can I use LiteSpeed Cache with another caching plugin?
No. Two page-caching plugins at once cause conflicts and stale or broken pages. Pick one for page caching and turn that feature off in the other.
Why don't my changes show after enabling the cache?
The plugin purges a page automatically when you edit it, but some changes, such as theme or menu edits, may need a manual purge. Use Purge All from the WordPress admin bar and clear your browser cache too.