Speeding up WordPress on cPanel hosting

A slow WordPress site costs you visitors, conversions, and search rankings — Google has used page speed as a ranking factor for over a decade. The good news: most slow WordPress sites can be 5x faster with about an hour of work, and almost none of it requires a developer. This guide walks through the highest-impact optimizations on an ipxcore cPanel hosting account, in order of what helps most.

1. Pick a recent PHP version

PHP 8.x is roughly 2-3x faster than PHP 7.x for typical WordPress workloads. Check and change your PHP version in cPanel:

  1. Open MultiPHP Manager (under "Software").
  2. Tick the box next to your domain.
  3. Pick ea-php82 or ea-php83 from the dropdown.
  4. Click Apply.

If your site breaks (white screen, plugin errors), drop back one version and ask the plugin author when 8.x support is coming. Most actively-maintained plugins have supported PHP 8 since 2022.

2. Install a caching plugin

This is the single biggest speed improvement you can make. Without caching, every page view re-renders the entire page from scratch (PHP execution, MySQL queries, theme rendering). With caching, the rendered HTML is served as a static file in milliseconds.

  • LiteSpeed Cache (free) — works with our LiteSpeed-enabled servers and is the fastest option. Includes image optimization and CDN.
  • WP Rocket (paid) — the easiest premium option, sane defaults, runs anywhere.
  • W3 Total Cache (free) — powerful but more knobs than most users need.
  • WP Super Cache (free) — simple, by Automattic. Good for low-traffic blogs.

Install one (only one), accept the default settings, and you'll see Time To First Byte drop from 800ms+ to under 100ms.

3. Optimize images

Images are typically 60-80% of a page's total weight. Two things to do:

  1. Resize before uploading. A 4000-pixel-wide phone photo is 5x bigger than needed for a 1200-pixel content area. Resize to the actual display width before uploading.
  2. Use modern formats. WebP is ~30% smaller than JPEG at the same quality, supported by every modern browser. Plugins like ShortPixel, Smush, or LiteSpeed Cache convert on upload automatically.

For an existing site with hundreds of legacy images, run the bulk-optimize feature once. Expect a 50-70% size reduction.

4. Enable lazy loading

WordPress 5.5+ enables lazy loading for images by default — below-the-fold images don't download until the visitor scrolls near them. Verify it's on by checking your image tags for loading="lazy". If your theme strips this, your caching plugin can re-add it.

5. Use a CDN

A Content Delivery Network caches your images, CSS, and JavaScript at edge locations close to your visitors. The biggest free option is Cloudflare — sign up, change your nameservers, and your static assets are served from a network of 300+ data centers. Average page-weight delivery improves dramatically for non-US visitors especially.

6. Clean up the database

WordPress accumulates cruft: post revisions, expired transients, spam comments, orphaned metadata. Over years, this can balloon a 50 MB database to 500 MB and slow every query.

Install WP-Optimize (free), run the database cleanup once, and schedule it weekly. Typical reductions: 30-70% smaller database, 20-40% faster admin pages.

7. Audit plugins

Every active plugin is code that runs on every page load. The single easiest WordPress optimization is also the most painful: deactivate everything you're not actively using.

Use the free Query Monitor plugin to identify which plugins are slowest. Often a single rogue plugin (popup, social-feed, slider) is responsible for 40% of your page load time. Replace it with a lighter alternative or live without it.

8. Optimize the theme

Bloated multipurpose themes (Avada, Divi, BeTheme) ship with hundreds of features you don't use, and load all of them on every page. Lightweight themes like Astra, GeneratePress, Kadence, or Blocksy render in a fraction of the time. Switching themes is a project, but the speed delta is enormous — often 2-3x.

How to measure

Don't optimize blind. Run these before and after each change:

  • PageSpeed Insights — Google's tool, scores 0-100 on Core Web Vitals.
  • GTmetrix — waterfall chart showing exactly which assets are slow.
  • WebPageTest — the most detailed; lets you simulate slow connections and other locations.

Aim for under 2 seconds Time To Interactive on a fresh load. Good caching gets you under 1 second easily.

If your site is still slow after all of the above

You may have outgrown shared hosting. WordPress sites that consistently see 100+ concurrent visitors, or that run heavy WooCommerce stores with frequent product updates, run smoother on a reseller package or a dedicated server — not because shared hosting is slow, but because you stop sharing CPU and disk I/O with neighbors. Open a ticket if you want a sizing recommendation; we'll look at your traffic patterns and suggest the cheapest tier that comfortably fits.

  • WordPress, speed, caching, PHP, optimization
  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Nameservers

The nameservers to use for our webhosting services are below: all1.dnsroundrobin.net...

Setting up Dynamic DNS in cPanel

cPanel includes a built-in Dynamic DNS feature that automatically keeps an A record pointed at a...

Setting up Cloudflare with cPanel: the right way

Cloudflare is a free CDN and DDoS-protection service that sits in front of your ipxcore cPanel...

How to migrate your website to ipxcore from another host

Migrating an existing website to ipxcore is a process we've helped thousands of customers...

Setting up email accounts in cPanel

Every ipxcore cPanel hosting plan includes unlimited email accounts on your domain. This article...