A slow WordPress site loses visitors and drags down your search rankings. The good news is that most WordPress sites can become several times faster with a few correct settings. In this guide we explain how to configure the LiteSpeed Cache plugin correctly on LiteSpeed servers, how to optimise images, and the common mistakes that slow sites down.
Measure first: which metrics matter?
Google evaluates page experience with the Core Web Vitals metrics:
| Metric | What does it measure? | Good value |
|---|---|---|
| LCP (Largest Contentful Paint) | Load time of the largest content element | Under 2.5 s |
| INP (Interaction to Next Paint) | Response time to clicks/taps | Under 200 ms |
| CLS (Cumulative Layout Shift) | Page layout shift during loading | Under 0.1 |
Use Google PageSpeed Insights for measurement and focus on the mobile result. Take a screenshot before making changes so you can see the effect of each step.
Step 1: Choose the right infrastructure
No plugin can fully make up for a slow server. The most important infrastructure factors for speed are:
- LiteSpeed web server: Provides server-level page caching; pages are served without PHP running at all.
- A current PHP version: PHP 8.x is noticeably faster than the old 7.x versions. You can change it in cPanel under Select PHP Version.
- SSD/NVMe disks and sufficient CPU/RAM quota.
Step 2: Install LiteSpeed Cache
- In the WordPress dashboard, go to Plugins » Add New, search for "LiteSpeed Cache", then install and activate it.
- If you have another page caching plugin (WP Rocket, W3 Total Cache, WP Super Cache, etc.), deactivate and delete it.
- Under LiteSpeed Cache » Cache, check that the "Enable Cache" option is on.
Recommended basic settings
| Section | Setting | Recommendation |
|---|---|---|
| Cache | Cache Logged-in Users | Off (unless it's a membership site) |
| Cache | Browser Cache | On |
| Page Optimization » CSS | CSS Minify | On |
| Page Optimization » JS | JS Minify | On |
| Page Optimization » JS | Load JS Deferred | On, then test the site |
| Page Optimization » Media | Lazy Load Images | On |
The "CSS Combine" and "JS Combine" options often bring no benefit on servers using HTTP/2 and HTTP/3, and can break the layout of some themes. If you enable them, check the site in a private window after every change.
Step 3: Optimise your images
On most sites, images make up the largest share of page size.
- Resize images to their actual display size before uploading; don't show a 4000 px wide photo in an 800 px area.
- Use the WebP or AVIF format. The Image Optimization section of LiteSpeed Cache can automatically convert existing images to WebP.
- Exclude the main image at the top of the page (the LCP image) from lazy loading; otherwise LCP time increases.
- Give images width and height values; this prevents layout shift (CLS).
Step 4: Clean up plugins and themes
- Delete plugins you don't use. Every active plugin can add CSS/JS to the page and run database queries.
- If you use a page builder, remove unnecessary widgets and animations.
- Load third-party scripts such as social sharing, live chat and maps after user interaction where possible.
Step 5: Database maintenance
Over time, post revisions, trashed comments and expired transients accumulate in the database. You can clean these up in the Database section of LiteSpeed Cache. To limit the number of revisions, add this line to the wp-config.php file:
define( 'WP_POST_REVISIONS', 5 );Always take a backup before cleaning up the database. For details, see our MySQL backup guide.
Step 6: Using it together with Cloudflare
If you use Cloudflare, you can enter your API details in the CDN » Cloudflare section of LiteSpeed Cache so that the Cloudflare cache is also purged automatically whenever you purge the cache. For Cloudflare setup, see our Cloudflare guide.
Common mistakes that slow sites down
- Using more than one caching plugin at the same time.
- Large, uncompressed PNG/JPG images.
- Loading dozens of Google Fonts weights.
- Old themes/plugins that are no longer updated.
- Overcrowded cheap hosting plans that hit their resource limits.
Conclusion
With the right infrastructure, a single caching plugin, optimised images and a clean plugin list, you can significantly raise your WordPress site's PageSpeed score. Our cPanel hosting plans running on LiteSpeed and CloudLinux are fully compatible with LiteSpeed Cache. If your site is with another provider, you can follow our WordPress migration guide or leave the migration to us free of charge.
Frequently Asked Questions
Does LiteSpeed Cache work on every host?
The plugin's page caching feature only works on the LiteSpeed or OpenLiteSpeed web server. MerkezHost cPanel hosting plans use LiteSpeed infrastructure.
Can I use more than one caching plugin?
No. Two page caching plugins at the same time can cause conflicts and white screen errors. Use only one.
Why does my PageSpeed score change with every test?
The location of the testing server, network conditions and third-party scripts affect the results. Don't rely on a single test; look at the average of several tests and at the real user data in Search Console.
