How to Enable LiteSpeed Cache for WordPress
LiteSpeed Cache (LSCache) is a free WordPress plugin that works hand-in-hand with Hostinap's LiteSpeed Web Server to serve your pages dramatically faster. Unlike generic caching plugins, LSCache hooks directly into the server layer โ meaning cached pages are served from RAM without executing any PHP or hitting the database at all. The result: pages that load in milliseconds instead of seconds, and CPU/memory usage that drops by 60โ80%.
Step 1: Install LiteSpeed Cache Plugin
- Log in to your WordPress admin dashboard (
yourdomain.com/wp-admin). - Go to Plugins > Add New.
- Search for LiteSpeed Cache.
- Click Install Now on the official LiteSpeed Cache plugin (by LiteSpeed Technologies).
- Click Activate.
Step 2: Enable Page Cache
- In the WordPress left menu, click LiteSpeed Cache > Cache.
- Under the Cache tab, set Enable Cache to
ON. - Also enable Cache Logged-in Users to
OFF(leave logged-in users uncached for correct dashboard behaviour). - Enable Cache WooCommerce Cart Page to
OFFif you run a shop (carts must not be cached). - Click Save Changes.
Step 3: Enable Object Cache
Object caching stores the results of complex database queries in memory so they do not have to be recalculated on every page load. This is especially effective for WooCommerce and membership sites.
- Go to LiteSpeed Cache > Cache > Object tab.
- Set Object Cache to
ON. - Click Save Changes.
Step 4: Enable Browser Cache
- Go to LiteSpeed Cache > Cache > Browser tab.
- Set Browser Cache to
ON. - Click Save Changes. This instructs visitors' browsers to locally cache static assets (CSS, JS, images) so repeat visits load almost instantly.
Step 5: Optimize Images (WebP Conversion)
LiteSpeed Cache can also automatically convert your images to the modern WebP format, which is 25โ35% smaller than JPEG/PNG with the same visual quality.
- Go to LiteSpeed Cache > Image Optimization.
- Click Send Optimization Request. LiteSpeed's servers will process your images in the background.
- Once complete, enable WebP Replacement to automatically serve WebP to supported browsers.
Step 6: Test Your Speed Improvement
After enabling LiteSpeed Cache, test your site speed at GTmetrix.com or Google PageSpeed Insights. You should see your Time to First Byte (TTFB) drop to under 200ms and your overall page load time improve significantly.
Running a High-Traffic WooCommerce Store?
Pair LiteSpeed Cache with Business Hosting for maximum performance โ higher CloudLinux LVE limits, a dedicated IP, and 12-hour backup retention keep your store running smoothly even during peak traffic.