Tutorials

Making WordPress genuinely fast on shared hosting

The usual advice when a WordPress site is slow is to buy a bigger plan. Sometimes that is right. Far more often the site is slow for reasons a bigger server will not fix, and you will pay more for the same three-second load.

In rough order of how much they matter:

1. Images

This is the biggest one and it is not close. A hero image exported straight from a camera or a design tool can be 3 MB. Served to a phone on mobile data, that alone is several seconds.

Resize before uploading — no image on a normal page needs to be wider than about 1,600 pixels. Then serve WebP, which is typically 25–35% smaller than an equivalent JPEG at the same visual quality. Any decent optimisation plugin will convert your existing library in bulk.

Do this one thing and many sites are done. It is dull, which is why it gets skipped in favour of more interesting tuning that matters less.

2. Caching

Without caching, every visit re-runs PHP and re-queries the database to produce a page that has not changed in a week. A page cache stores the finished HTML and serves that instead.

If your hosting runs LiteSpeed, use LiteSpeed Cache — it hooks into the server itself rather than doing the work in PHP, which is meaningfully faster than a plugin-only cache. On Apache, WP Super Cache or W3 Total Cache both do the job. The specific plugin matters far less than having one at all.

3. Plugins

Not the count — the weight. Twenty light plugins can easily outperform three heavy ones. The problems are usually plugins that load on every page when they are needed on one: a contact form loading its scripts sitewide, a slider library on pages with no slider, a page builder shipping its whole CSS bundle to a plain blog post.

Install Query Monitor, load a slow page, and look at what is actually running. Then delete — properly delete, not deactivate — anything you cannot justify. Deactivated plugins still sit there waiting to be a security problem.

4. Where the server is

Covered at length in our BDIX piece, so briefly: if your visitors are in Bangladesh and your server is not, you are paying 60–120 ms on every request, dozens of times per page. If your visitors are elsewhere, the reverse is true.

What to skip

Do not start by minifying CSS or deferring JavaScript. Those help, but they are worth tens of milliseconds while an unoptimised image is worth thousands, and aggressive JS deferral is the single most common way to break a WordPress theme.

Measure first. Run the page through a tool that shows a waterfall, find the largest and slowest items, fix those. Guessing is how people end up with four caching plugins fighting each other.

When you genuinely do need more server

Shared hosting stops being the answer when your bottleneck is PHP or the database rather than assets — a busy WooCommerce store, a membership site with many logged-in users, anything where pages cannot be cached because every visitor sees something different. Cached pages barely touch the server; uncachable ones hit it on every request.

If that is you, move up. If it is not, fix the images first.

Every HostLagbe plan runs LiteSpeed with free SSL, so LiteSpeed Cache works out of the box. Already hosted somewhere else? We will move the site for you at no charge.

See plans Free migration
#WordPress#Performance#LiteSpeed#Caching#Shared Hosting

HostLagbe

HostLagbe. Most "my site is slow" tickets we get are solved by resizing one image.

Get hosting tips in your inbox

Occasional guides and platform updates. No spam, unsubscribe anytime.

Support Ticket
Telegram
Instagram
Messenger
WhatsApp