Page speed is one of the most important factors in the success of a website. Research consistently shows that visitors abandon pages that take more than a couple of seconds to load, and Google uses page speed as a ranking factor in search results. If your WordPress site on shared hosting feels sluggish, you are not stuck - there are a number of proven optimizations that can dramatically improve your load times without needing to upgrade to a VPS or pay for expensive infrastructure. This guide walks you through the most effective ones.
Step 1: Measure Before You Optimize
Before you start making changes, get a baseline measurement so you can track your progress. Free tools for this include:
- Google PageSpeed Insights (
pagespeed.web.dev) - gives you a performance score and specific recommendations - GTmetrix (
gtmetrix.com) - detailed waterfall charts showing exactly which resources take the longest to load - Pingdom Website Speed Test - lets you test from different geographic locations, including Canadian cities
Run your site through one of these tools, note your current score and load time, and revisit after each optimization to measure the improvement.
Step 2: Install a Caching Plugin
Caching is the single most impactful optimization you can make for a WordPress site on shared hosting. Without caching, WordPress runs PHP code and queries the database every time a visitor loads a page. With caching, the first request generates a static HTML file, and subsequent requests are served from that static file - which is much faster and uses far fewer server resources.
Recommended caching plugins:
- LiteSpeed Cache - the top choice for hosting providers using LiteSpeed web servers (which dotCanada uses). It integrates deeply with the server for maximum performance.
- WP Super Cache - a solid, well-established option that works on any hosting environment
- W3 Total Cache - very powerful and configurable, though the settings can be complex for beginners
After installing your caching plugin, use its configuration wizard or start with the recommended default settings. Test your site speed again - you should see a significant improvement immediately.
Step 3: Optimize Your Images
Images are almost always the largest files on a webpage and the biggest contributor to slow load times. Optimizing them is essential:
Compress images before uploading:
Use a tool like Squoosh (squoosh.app) or TinyPNG (tinypng.com) to compress images before you add them to your media library. A photo straight from a camera can be 5–10 MB; the same image compressed for web might be 200–500 KB with no visible quality loss.
Convert to modern formats: WebP is a modern image format that is significantly smaller than JPEG or PNG at equivalent quality. Many optimization plugins can automatically convert your images to WebP.
Install an image optimization plugin: Plugins like Imagify, ShortPixel, or Smush can automatically compress images when you upload them and retroactively optimize your existing media library.
Enable lazy loading: Lazy loading defers the loading of images that are below the fold until the visitor scrolls toward them. WordPress has native lazy loading built in, and most caching plugins include this feature too.
Step 4: Minimize and Combine CSS and JavaScript
Every CSS stylesheet and JavaScript file your site loads requires a separate HTTP request. Reducing the number and size of these requests speeds up page rendering.
Your caching plugin likely includes minification (removing whitespace and comments from code) and file combination features. Enable these for CSS and JavaScript files. Be aware that aggressive JS combination can sometimes break plugins - test thoroughly after enabling.
Step 5: Reduce Plugin Bloat
Each active WordPress plugin adds PHP code that runs on every page load. Poorly coded plugins can significantly slow down your site. Audit your plugins regularly:
- Deactivate and delete any plugins you are not actively using
- Replace heavy plugins with lighter alternatives - for example, some contact form plugins are far more lightweight than others
- Check plugin impact with a tool like Query Monitor, which shows you exactly which plugins are adding the most database queries and execution time
A common rule of thumb: aim to keep your active plugin count to the minimum needed to run your site effectively.
Step 6: Use a Content Delivery Network (CDN)
A CDN stores copies of your static files (images, CSS, JavaScript) on servers around the world. When a visitor in Vancouver loads your site, they receive your static files from the nearest CDN server rather than your hosting server - which can significantly reduce load times.
Cloudflare is the most popular free CDN option for WordPress. It also adds a layer of DDoS protection and can further improve performance through its global network. Many caching plugins include direct Cloudflare integration.
Step 7: Optimize Your Database
Over time, WordPress databases accumulate unnecessary data: post revisions, spam comments, expired transients, and orphaned data from deleted plugins. Cleaning these up reduces database query times.
The WP-Optimize plugin can safely clean up your database with a few clicks. Run it periodically - monthly is a reasonable frequency for active sites.
Also review your WordPress settings:
- Go to Settings > Writing and set Post Revisions to a reasonable number (e.g., 5) rather than unlimited
Step 8: Keep WordPress and PHP Updated
Running an outdated version of PHP is one of the most overlooked performance issues. PHP 8.1 and 8.2 are dramatically faster than PHP 7.x. In cPanel, check your PHP version under Software > Select PHP Version and update to the latest supported version that your plugins are compatible with.
Also keep WordPress core, themes, and plugins updated - updates often include performance improvements alongside security fixes.
Performance optimization is an ongoing process, not a one-time task. The steps above can often cut load times in half or better for a typical WordPress site. At dotCanada, our servers are configured for WordPress performance, and all plans include support for LiteSpeed Cache and the latest PHP versions. If your site still feels slow after optimizing, our team is happy to take a look and provide specific recommendations.

