Make WordPress load faster
LiteSpeed Cache (LSCache) is the fastest free cache plugin for WordPress. It installs in 5 minutes and can cut your site's load time noticeably. In this guide you will see the safe default settings.
Article overview
Why LiteSpeed Cache?
There are dozens of worthwhile cache plugins for WordPress: W3 Total Cache, WP Rocket, WP Super Cache, WP Fastest Cache. But the main advantage of LiteSpeed Cache is its server-level integration.
LSCache vs the others
- WP Super Cache: runs in PHP, so every request still consumes an Apache process
- WP Rocket: not free (a paid yearly license), a similar result
- LSCache: works NATIVELY on the LiteSpeed server and returns HTML without touching PHP → much faster responses
At Hostinq.com all hosting plans run on LiteSpeed servers, so LSCache is the ideal choice.
How it works: When a request comes to the site, LiteSpeed first looks for static HTML in the cache. If it finds it, it returns it directly (1-2 ms). If not, it runs PHP and writes the result to the cache.
Installing the plugin
- Log in to the WordPress admin panel (
yoursite.com/wp-admin) - In the left menu go to Plugins → Add New
- Type
LiteSpeed Cachein the search field - Find the plugin published by LiteSpeed Technologies (5+ million active installs)
- Install Now → Activate
After you activate it, a new LiteSpeed Cache item will appear in the left menu. The cache is already active with the default settings, but for better performance it is worth changing a setting or two.
Page Cache settings (the important part)
Go to the LiteSpeed Cache → Cache menu. The following default settings are safe for most sites:
1. Cache
Enable Cache: ONCache Logged-in Users: OFF (admins and customers stay outside the cache)Cache Commenters: OFFCache REST API: ONCache Login Page: ONCache PHP Resources: ON
2. TTL (Time to Live)
Default Public Cache TTL: 3600 (1 hour, for a news site) or 604800 (1 week, for a company site)Default Private Cache TTL: 1800Default Front Page TTL: the same as the Public TTL
3. Purge
This page determines when the cache should be cleared automatically. The defaults are fine; only in Auto Purge Rules should “Post - Published” and “Post - Updated” be ticked.
4. Excludes (pages kept out of the cache)
- Cart and checkout pages (WooCommerce:
/cart,/checkout,/my-account): these must stay dynamic
5. Object Cache (if available)
Object Cache needs Redis or Memcached on the server. If Redis is available on your plan, set Object Cache → Method: Redis with the host and port support gives you (often 127.0.0.1 and 6379). Press “Save Changes”, and “Test Connection” should turn green. If you are not sure, ask support before you turn it on.
The difference between Cache and Object Cache: Cache stores the HTML whole (page cache). Object Cache remembers MySQL queries (database cache). Used together, they reduce the work the server does for each visit.
Optimization (be CAREFUL!)
LiteSpeed Cache has many “optimization” functions: CSS minify, JS combine, lazy load and so on. They increase speed, BUT they can break some themes. Enable them in the following order:
CSS Optimization
CSS Minify: ON. It only removes whitespace, so it is safeCSS Combine: TEST. It merges files and can break some themesCSS HTTP/2 Push: OFF. It is obsolete
JS Optimization
JS Minify: ONJS Combine: TEST. Check that nothing on the site brokeJS Deferred: TEST. Sliders and popups may load late
Media Optimization
Lazy Load Images: ON. Images on screen load first, and those below waitWebP Replacement: ON. If the visitor's browser supports WebP, it is automatically served that versionImage Optimize→ “Send Optimization Request”: free WebP conversion (QUIC.cloud)
Enable each optimization ONE BY ONE and check the site! If you switch them all ON at once and a problem appears, it is hard to find the cause.
QUIC.cloud CDN (optional)
QUIC.cloud is the LiteSpeed team's own CDN. The free tier supports 12 GB of traffic per month, which is enough for small blogs. It is most useful for sites whose visitors are spread across several regions.
If your visitors are spread across several countries, a CDN is useful:
- LSCache → General → QUIC.cloud Settings
- “Request Domain Key” → confirm the CDN request
- Register with QUIC.cloud → point your DNS to their servers
- The CDN becomes active, and static files (CSS, JS, images) are served from the nearest node
How do you measure speed?
After installing the plugin, here are the 3 best tools for measuring your site's speed:
1. Google PageSpeed Insights
pagespeed.web.dev: a speed + UX score, and Google's own tool. It tests Mobile and Desktop separately. Target: a score of 90+.
2. GTMetrix
gtmetrix.com: more detailed, with load time, number of requests and page size. Free, with more options if you register.
3. WebPageTest
webpagetest.org: for professionals. Filmstrip, waterfall, multiple locations. The most extensive.
Checking for an LSCache HIT
Chrome DevTools (F12) → Network → Headers tab. You should see x-litespeed-cache: hit → the cache is working. If you see miss, it is the first hit, and the second time it will be a hit.
Fixing problems
Site changes are not visible
The cache is serving the old version. Press LSCache → Purge → Purge All. Also hard refresh your browser (Ctrl+Shift+R).
The slider/menu broke after JS Combine
Go back: LSCache → Optimization → JS Combine OFF. Check the site.
The design broke after CSS minify
The same: CSS Minify, CSS Combine OFF.
Object Cache test fails
Redis is not available on your plan, or the host, port or password is wrong. Ask Hostinq support to confirm the Redis details, or set Object Cache to OFF.
Frequently asked questions
LSCache is free; does it have any limits?
Completely free, with no limits. The QUIC.cloud CDN has an optional paid plan (above 12 GB).
WP Rocket vs LSCache: what is the difference?
LSCache is faster when it runs on a LiteSpeed server (Hostinq.com). WP Rocket runs on Apache/Nginx and has no server-level integration. LSCache is free, while WP Rocket is a paid plugin.
The plugin broke my site: how do I roll it back?
Via FTP/cPanel, rename the wp-content/plugins/litespeed-cache folder. WordPress deactivates it automatically and your site recovers.
Is it needed for every site?
It is not needed for static (HTML) sites, because they are fast anyway. It is important for PHP sites (WordPress, Drupal, Joomla).
Hostinq.com hosting runs on LiteSpeed
LiteSpeed Enterprise servers + NVMe storage + LSCache + free CDN: included in all plans. The WordPress LSCache plugin is free.
View hosting plans