best setup for LiteSpeed Cache.
- 23checks in the recipe
- 22set for you
- 1shown as steps
- 7to take care with
Short answer
Turn the page cache and browser cache on, keep logged in users and the login page out of the public cache, and use a separate mobile cache only when the theme needs it. Minify CSS and JavaScript but do not combine JavaScript, lazy load images in one place only, and keep the debug log off.
The Tunewise recipe for LiteSpeed Cache looks at 23 checks. It starts with: Page cache on; Browser cache on; Logged-in users not served from the public cache. Tunewise changes 22 for you, and shows you the steps for 1. 7 need extra care.
Tested on 2026-10-26 with LiteSpeed Cache 7.9.2 on WordPress 7.1.3 and WooCommerce 11.2.1.
- Page cache onafter: set for you
- Browser cache onafter: set for you
- Logged-in users not served from the public cacheafter: set for you
- Login page not cachedafter: set for you
- Separate mobile cache only when neededafter: set for you
These are real checks from the LiteSpeed Cache recipe. The ring above fills as each one is done. The picture shows the order of work, not your shop.
Good to know
- A cached login page can break logins.
- Combining JavaScript breaks the load order on shops with checkout scripts.
- A separate mobile cache on a responsive theme halves how often the cache is used, for no gain.
- Without the special handling for the cart count in the header, cached pages can show another shopper's number.
- Running two lazy loaders delays product images on phones.
the setup, step by step.
The "why" below is what Tunewise tells a shop where the check applies. Tunewise first reads your shop, so you only see the checks that fit it.
Page cache on
Medium riskTunewise changes it for youCache- Why
- Every visit to your shop renders some pages and some products from PHP; the page cache serves them as static files.
- Where to find it
- Look for "Page cache" in the LiteSpeed Cache settings.
Browser cache on
Low riskTunewise changes it for youCache- Why
- Repeat visitors re-download your images and scripts on every page without browser cache headers.
- Where to find it
- Look for "Browser cache" in the LiteSpeed Cache settings.
Logged-in users not served from the public cache
High riskTunewise changes it for youCache- Why
- Some admins and your customers see account pages; private cache keeps their content separate from public copies.
Login page not cached
Medium riskTunewise changes it for youCache- Why
- A cached login page can serve another visitor’s nonce and break logins on your shop.
Separate mobile cache only when needed
Medium riskTunewise changes it for youCache- Why
- Your theme is responsive; a separate mobile cache halves the hit rate for no gain.
Ad parameters stripped from the cache key
Low riskTunewise changes it for youCache- Why
- Your analytics tool tags visits with fbclid and utm_ parameters, which currently create separate cache copies of the same page.
ESI for dynamic blocks (mini-cart)
Medium riskTunewise changes it for youCache- Why
- Your header shows a cart count on some product pages; without ESI, cached pages can show another shopper’s number.
Object cache (Redis) on
Medium riskTunewise changes it for youCache- Why
- Your server has Redis and category pages for some categories run many database queries each; the object cache keeps them in memory.
- Where to find it
- Look for "Object cache (Redis)" in the LiteSpeed Cache settings.
Object cache method: Redis
Low riskTunewise changes it for youCache- Why
- Redis is installed on the server that runs your shop.
CSS minified
Low riskTunewise changes it for youPage optimization- Why
- Stylesheets from your theme ship with whitespace and comments on every page view.
JavaScript minified
Low riskTunewise changes it for youPage optimization- Why
- Scripts on your shop are served unminified; minification is safe and reversible.
JavaScript not combined
Low riskTunewise changes it for youPage optimization- Why
- Combining JavaScript breaks load order on stores with checkout scripts; HTTP/2 makes it unnecessary for your shop.
JavaScript deferred
Medium riskTunewise changes it for youPage optimization- Why
- Render-blocking scripts delay the first paint of your product pages on mobile.
Emoji script removed
Low riskTunewise changes it for youPage optimization- Why
- WordPress loads an emoji script on all pages; modern browsers do not need it.
Google Fonts loaded asynchronously
Low riskTunewise changes it for youPage optimization- Why
- Fonts from your theme block rendering until downloaded; async loading shows text first.
Lazy loading in one place only
Low riskTunewise changes it for youMedia- Why
- Smush already lazy-loads your images. Running both delays product images on mobile.
- Where to find it
- Look for "Lazy loading images" in the LiteSpeed Cache settings.
Lazy loading images
Low riskTunewise changes it for youMedia- Why
- Some images and no other lazy loader active; below-the-fold images should wait.
- Where to find it
- Look for "Lazy loading images" in the LiteSpeed Cache settings.
Lazy loading iframes
Low riskTunewise changes it for youMedia- Why
- Embedded maps and videos on your shop load before the content around them.
Add missing image sizes
Low riskTunewise changes it for youMedia- Why
- Images without width and height shift the layout of your pages while loading (CLS).
Heartbeat slowed on the front end
Low riskTunewise changes it for youGeneral- Why
- The WordPress heartbeat polls the server every 60 seconds for every visitor; the front end of your shop does not need it.
Purge all on plugin and theme updates
Low riskTunewise changes it for youCache- Why
- After an update, stale cached copies of your pages can reference files that no longer exist.
Debug log off
Low riskTunewise changes it for youGeneral- Why
- Debug logging writes to disk on every request to your shop; it is for troubleshooting only.
- Where to find it
- Look for "Debug log" in the LiteSpeed Cache settings.
Images served as WebP
Low riskTunewise shows you the stepsMedia- Why
- Some images are served as JPEG or PNG; WebP through QUIC.cloud needs the image optimization service to be requested first.
Leave these alone or take care
- Keeping logged in users out of the public cache is high risk if it is wrong: customers could see each other's account pages. Check an account page after any cache change.
- Deferring JavaScript, the page cache itself and the cart block in the header are medium risk. Test the cart and checkout after they change.
- Images as WebP through QUIC.cloud is only shown to you, because the image service has to be requested first.
These checks carry more risk, or Tunewise does not change them by itself. For those it shows you the steps and you decide.
- Page cache onMedium risk
- Logged-in users not served from the public cacheHigh risk
- Login page not cachedMedium risk
- Separate mobile cache only when neededMedium risk
- ESI for dynamic blocks (mini-cart)Medium risk
- Object cache (Redis) onMedium risk
- JavaScript deferredMedium risk
- Images served as WebPShown only: you make the change
It depends on your shop
4 of 23 checks only apply to some shops. This is what each one depends on.
- Ad parameters stripped from the cache key: depends on whether you already measure visits with another tool.
- ESI for dynamic blocks (mini-cart): depends on the kind of site you run (a store).
- Object cache (Redis) on: depends on what your server offers for caching.
- Object cache method: Redis: depends on what your server offers for caching.
Tested on
- LiteSpeed Cache version
- 7.9.2
- Test date
- 2026-10-26
- WordPress
- 7.1.3
- WooCommerce
- 11.2.1
- Versions the recipe fits
- 6.0 to 7.9.x
- After each change
- Tunewise checks the home page, product page, cart and checkout, sitemap, PHP errors, robots.
- Recipes file
- Version 1.33.0, signed, checked before this page was built.
What changed in this recipe
- Tested on 26 October 2026 with LiteSpeed Cache 7.9.2 on WordPress 7.1.3: 60 settings read with the right kind of value, none missing. We know versions 6.0 to 7.9.x.
- 2.0.0 · 26 Oct 2026: every setting now has the name LiteSpeed Cache really uses, read from a real LiteSpeed Cache 7.9.2 install; the cache key list is read correctly; changes go through LiteSpeed Cache's own settings code, so its server rules follow.
- 1.0.0 · 15 Oct 2026: first version. Its setting names were ones LiteSpeed Cache never reads.
Questions and answers
What is the best setup for LiteSpeed Cache?
Turn the page cache and browser cache on, keep logged in users and the login page out of the public cache, and use a separate mobile cache only when the theme needs it. Minify CSS and JavaScript but do not combine JavaScript, lazy load images in one place only, and keep the debug log off.
What does Tunewise check in LiteSpeed Cache?
Page cache on; Browser cache on; Logged-in users not served from the public cache; Login page not cached; Separate mobile cache only when needed; Ad parameters stripped from the cache key; ESI for dynamic blocks (mini-cart); Object cache (Redis) on; Object cache method: Redis; CSS minified; JavaScript minified; JavaScript not combined; and 11 more.
Can Tunewise change the LiteSpeed Cache settings for me?
Yes, for 22 of 23 checks. For 1 it shows you the steps and you make the change yourself. Every change is explained first, checked after, and can be undone.
Which LiteSpeed Cache settings need care?
Page cache on (medium risk); Logged-in users not served from the public cache (high risk); Login page not cached (medium risk); Separate mobile cache only when needed (medium risk); ESI for dynamic blocks (mini-cart) (medium risk); Object cache (Redis) on (medium risk); JavaScript deferred (medium risk).
Which LiteSpeed Cache settings should I leave alone?
Keeping logged in users out of the public cache is high risk if it is wrong: customers could see each other's account pages. Check an account page after any cache change. Deferring JavaScript, the page cache itself and the cart block in the header are medium risk. Test the cart and checkout after they change. Images as WebP through QUIC.cloud is only shown to you, because the image service has to be requested first.
Does the best setup for LiteSpeed Cache depend on my shop?
Yes, for 4 of 23 checks. For example, "Ad parameters stripped from the cache key" depends on whether you already measure visits with another tool.
Which version of LiteSpeed Cache was this tested on?
Tested on 2026-10-26 with LiteSpeed Cache 7.9.2 on WordPress 7.1.3 and WooCommerce 11.2.1. The recipe fits versions 6.0 to 7.9.x.
Plugin names and icons belong to their owners. Tunewise is not affiliated with or endorsed by them. The icon comes from the plugin's own listing on WordPress.org.
Let Tunewise set up LiteSpeed Cache for your shop
The free plugin reads your shop and shows your plan before anything changes. Update Guard is on from the first minute.