How to Speed Up Your WordPress Website
A slow website loses visitors, sales and Google rankings. The good news is that most WordPress sites can become much faster with a few practical changes. This guide shows you how to speed up your WordPress website step by step: setting up the LiteSpeed Cache plugin (EgWeb servers run LiteSpeed), optimizing images, using the latest PHP version, reducing plugins, choosing a lightweight theme, cleaning the database and measuring the results with PageSpeed Insights.
Step 1: Measure your current speed
- Open PageSpeed Insights and enter your website address.
- Check both the Mobile and Desktop results and note the Core Web Vitals, especially LCP (Largest Contentful Paint) and CLS (Cumulative Layout Shift).
- Read the Opportunities and Diagnostics lists; they tell you what slows your page down.
- Save these results so you can compare after each change.
Step 2: Install and configure LiteSpeed Cache
EgWeb hosting servers run LiteSpeed Web Server, so the free LiteSpeed Cache plugin can use server-level page caching, which is faster than most PHP-based cache plugins.
- In WordPress go to Plugins > Add New Plugin, search for LiteSpeed Cache, then click Install Now and Activate.
- A new LiteSpeed Cache menu appears in the dashboard. Open Cache and make sure Enable Cache is ON.
- Optionally, open Presets and apply a recommended preset as a starting point.
- In Page Optimization, you can enable CSS/JS minify and lazy-load images. Enable options one at a time and check your site after each one, because some combine/defer options can break certain themes or plugins.
- Deactivate any other page cache plugin (for example WP Super Cache or W3 Total Cache). Running two cache plugins causes conflicts.
Step 3: Optimize your images
- Resize images before uploading. A hero image rarely needs to be wider than about 1920px, and product images can be much smaller.
- Compress images and use modern formats such as WebP. The LiteSpeed Cache Image Optimization feature (through the QUIC.cloud service) can generate WebP versions, or you can use another image optimization plugin.
- Enable lazy loading so images below the fold load only when the visitor scrolls.
Step 4: Use the latest supported PHP version
Newer PHP versions are noticeably faster and more secure. Check that your theme and plugins support the newer version, then change it from cPanel by following how to change the PHP version. Test your site after the change.
Step 5: Reduce plugins and use a lightweight theme
- Go to Plugins > Installed Plugins and remove anything you do not really use. Every active plugin can add queries, scripts and styles.
- Avoid several plugins that do the same job (two SEO plugins, two sliders, two security plugins).
- Choose a lightweight, well-coded theme. Heavy multipurpose themes with many built-in features often load lots of files on every page.
- Limit external scripts such as chat widgets, too many tracking codes and embedded social feeds.
Step 6: Clean up the database
- Take a backup first (see how to back up and restore your website).
- In LiteSpeed Cache > Database, you can clean post revisions, auto-drafts, spam and trashed comments, and expired transients.
- Limit future revisions by adding this line to
wp-config.php:
define( 'WP_POST_REVISIONS', 5 );Step 7: Test again
Purge the cache, open your site in a private window, then run PageSpeed Insights again. Compare with your first results. Focus on real improvements (loading time, LCP) more than chasing a perfect 100 score.
Common problems
- Changes do not appear after editing the site: the page is cached. Click Purge All in LiteSpeed Cache and clear your browser cache.
- Layout or menus broken after optimization: usually caused by CSS/JS combine or defer options. Turn them off one by one to find the cause.
- WooCommerce cart or login issues: LiteSpeed Cache excludes cart, checkout and logged-in users by default; do not force caching for these pages.
- Site still slow in the admin area: page caching helps visitors, not the dashboard. A slow admin is usually caused by a heavy plugin; disable plugins one by one to find it.
Frequently asked questions
Is LiteSpeed Cache free?
Yes, the plugin is free. Some extra services such as image optimization through QUIC.cloud have free quotas and optional paid plans.
Do I need a CDN?
A CDN can help if many of your visitors are far from the server, but caching, image optimization and a clean setup usually bring the biggest improvement first.
Why is my mobile score lower than desktop?
PageSpeed Insights tests mobile with a slower simulated device and network, so mobile scores are normally lower. Focus on images, fewer scripts and a lighter theme.
When should I upgrade my hosting?
If your site is optimized but still hits resource limits because of high traffic, it may be time for a bigger plan or a VPS. Our team can review your usage with you.