cached
lscache
- Page cache
- Full-page HTML
- Images
- WebP · lazy load
- CSS / JS
- Minified
- Purge
- Auto on update
LSCache
What LiteSpeed Cache does
Full-page HTML caching
LiteSpeed Cache stores a fully-rendered HTML snapshot of each page. When a returning visitor requests a page, the server returns the cached HTML directly — bypassing WordPress PHP execution and all database queries entirely. The result is a Time to First Byte (TTFB) under 50ms on cached pages.
- Cached pages served in < 50ms TTFB
- Bypasses PHP and database
- Cache auto-cleared on content updates
Object caching
Beyond page caching, LiteSpeed Cache stores frequently-used PHP objects — theme options, widget data, transients — in memory. Object caching dramatically reduces the number of database queries on pages that cannot be fully cached, like logged-in user pages or WooCommerce cart pages.
- Database query reduction for dynamic pages
- Transient and option caching
- Compatible with WooCommerce cart
CSS and JavaScript minification
LSCache automatically minifies and combines CSS and JavaScript files, removing whitespace, comments, and redundant code. Combined files mean fewer HTTP requests per page load. Minification reduces total stylesheet and script size by 20–40%, shortening the browser's rendering pipeline.
- CSS and JS minification
- File combination to reduce requests
- 20–40% typical size reduction
Image optimisation and lazy loading
The LiteSpeed Cache plugin converts images to WebP format on the fly and delivers the original format as a fallback for browsers that do not support it. Lazy loading defers off-screen images until the user scrolls toward them, reducing initial page weight and improving Largest Contentful Paint (LCP) score.
- Automatic WebP conversion
- Progressive lazy loading
- Improves LCP and page weight
Browser cache headers
LSCache sets correct browser caching headers (Cache-Control, Expires, ETag) for all static assets — images, CSS, JS, fonts. Returning visitors load these assets from their local browser cache rather than the server, reducing data transfer and improving perceived load speed on repeat visits.
- Correct Cache-Control headers
- ETags for conditional requests
- Faster repeat-visit performance
ESI (Edge Side Includes) support
Edge Side Includes let LiteSpeed Cache parts of a page while keeping other sections dynamic per user. For example, a product page can be cached globally while the cart widget in the header remains live and user-specific — allowing full-page caching on complex WooCommerce pages that would otherwise be uncacheable.
- Per-block caching on complex pages
- Cacheable WooCommerce product pages
- User-specific dynamic sections preserved
How is LiteSpeed Cache different from WP Super Cache or W3 Total Cache?
LSCache is a server-native plugin — it communicates directly with the LiteSpeed web server to store and serve cached pages at the server level, before WordPress is loaded. Plugin-based caches like WP Super Cache still use PHP to serve cached files, which is slower. LSCache also handles ESI and object caching that most plugin caches cannot.
Does LiteSpeed Cache work with Elementor and WooCommerce?
Yes. LSCache has specific compatibility modes for Elementor and WooCommerce. WooCommerce cart and checkout pages are automatically excluded from full-page caching, while product and category pages remain fully cached.
Will LSCache cause problems with logged-in users seeing old content?
No. LiteSpeed Cache separates cached content by login state. Logged-in users always see dynamic pages, and cache purging is triggered automatically whenever content is updated.
Do I need to configure anything for LiteSpeed Cache to work?
The basic configuration is applied automatically. For advanced settings like object caching, ESI, and image optimisation, the LSCache control panel provides presets that work for most WordPress sites without manual tuning.
Does LiteSpeed Cache minify inline CSS and JavaScript?
Yes. LSCache handles both external and inline CSS/JS minification. Minification of inline scripts can be disabled per-page if it causes issues with specific JavaScript that depends on exact formatting.
Can I exclude specific pages from caching?
Yes. You can configure exclusion rules in the LSCache settings — by URL, by user role, by cookie, or by query parameter. Dynamic pages like checkout are excluded automatically.
How does WebP conversion work?
LSCache converts JPEG and PNG images to WebP on first request and stores the WebP version. Modern browsers (Chrome, Firefox, Edge, Safari) receive the WebP version automatically. Browsers without WebP support receive the original.
Is image lazy loading compatible with Google Core Web Vitals?
Yes. LSCache implements native HTML lazy loading (loading="lazy") which browsers handle natively. The first image above the fold is excluded from lazy loading to avoid hurting LCP score.
Start with LiteSpeed Cache included
All WordPress hosting plans include LiteSpeed Web Server with the LSCache plugin available in one click.
