A slow website loses visitors and hurts search rankings. Google uses page speed as a ranking signal, and studies show most visitors leave if a page takes more than 3 seconds to load. This guide covers the most effective speed optimizations you can make on Ultra Web Hosting, from server-side caching to image compression and CDN setup.
The 3 Things That Make the Most Difference
If you're short on time, these three changes give you the most speed improvement with the least effort:
- ✓ Enable LiteSpeed Cache (or a caching plugin for WordPress)
- ✓ Upgrade to the latest PHP version your site supports
- ✓ Enable Cloudflare CDN (free plan is fine)
01. Measure Your Current Speed
Before optimizing, get a baseline so you know what changed. Use these free tools:
- Google PageSpeed Insights - pagespeed.web.dev - gives a performance score and specific recommendations
- GTmetrix - gtmetrix.com - detailed waterfall showing what's loading and how long each resource takes
- Pingdom - tools.pingdom.com - simple load time test from multiple locations
Run your site through at least one of these and note the score and load time. Then re-test after each change to see the impact.
Test from a location near your target audience. If most of your visitors are in the US, test from a US location. A site hosted in our US data center will naturally be faster for US visitors than for someone testing from Australia.
02. Server-Side Caching
Caching is the single biggest speed improvement for most websites. Without caching, every page view runs PHP code and database queries from scratch. With caching, the server stores the finished HTML page and serves it directly, bypassing PHP and MySQL entirely for repeat visitors.
LiteSpeed Cache (Recommended for WordPress)
Ultra Web Hosting runs Apache with LiteSpeed SAPI (LSAPI), which is compatible with the LiteSpeed Cache plugin for WordPress. Install it from the WordPress plugin directory. It works out of the box with our servers and handles page caching, CSS/JS optimization, and image lazy loading. See our WordPress Performance Guide for detailed configuration.
Object Caching (Redis)
Redis stores frequently-used database query results in memory, so the database doesn't have to run the same queries repeatedly. For WordPress, install the Redis Object Cache plugin and enable it. This is especially effective for WooCommerce stores and sites with logged-in users (where page caching is less effective).
Redis availability depends on your hosting plan and server. Contact support to verify Redis is available on your account.
03. Upgrade Your PHP Version
PHP 8.x is significantly faster than 7.x, which was itself a huge leap over 5.x. Upgrading PHP is one of the easiest performance wins available. PHP 8.2 includes a JIT (Just-In-Time) compiler that can improve execution speed by 2-3x for CPU-intensive operations.
Change your PHP version in cPanel > Select PHP Version. See our PHP Version Guide for instructions and compatibility tips.
After upgrading PHP, check your site thoroughly. Most modern WordPress themes and plugins work fine on PHP 8.x, but older or abandoned plugins may cause issues. Install the PHP Compatibility Checker plugin to scan before upgrading.
04. Optimize Images
Images are usually the largest files on a web page. Unoptimized images are the #1 cause of slow pages we see in support tickets.
Resize Before Uploading
If your page layout displays images at 800px wide, don't upload a 4000px photo straight from your camera. Resize it to the display size first. A 4000px JPEG can be 5-10MB; the same image at 800px is typically 100-200KB.
Use Modern Formats
WebP images are 25-35% smaller than JPEG at the same quality. Most browsers support WebP now. For WordPress, LiteSpeed Cache and ShortPixel can convert images to WebP automatically.
Lazy Loading
Lazy loading defers loading images that are below the fold (not visible without scrolling). The browser only loads them as the user scrolls down. WordPress 5.5+ has native lazy loading, and LiteSpeed Cache provides enhanced lazy loading options.
Compression Plugins (WordPress)
- ShortPixel - compresses existing and new images, converts to WebP (free tier: 100 images/month)
- Imagify - similar to ShortPixel with WordPress-specific features
- EWWW Image Optimizer - processes images on your server (no external API needed for basic compression)
05. Use a CDN (Cloudflare)
A Content Delivery Network caches your static files (images, CSS, JavaScript) on servers around the world. When a visitor loads your site, these files come from the CDN server nearest to them instead of traveling all the way to our US data center.
We recommend Cloudflare's free plan. It includes CDN, DDoS protection, and basic optimization features at no cost. See our Cloudflare Setup Guide for instructions.
After enabling Cloudflare, turn on "Auto Minify" for CSS, JavaScript, and HTML in the Speed settings. This removes unnecessary whitespace and comments from your code, reducing file sizes.
06. WordPress-Specific Optimizations
Reduce Plugin Count
Every active plugin adds PHP execution time and potentially extra CSS/JS files. Deactivate and delete plugins you're not actively using. We've seen sites go from 5-second load times to under 2 seconds just by removing 10-15 unused plugins.
Use a Lightweight Theme
Page builder themes (Elementor, Divi, WPBakery) add significant overhead. If your site is simple, a lightweight theme like GeneratePress, Astra, or Kadence loads much faster. If you need a page builder, Elementor with "Improved Asset Loading" enabled is the lightest option.
Disable wp-cron and Use Server Cron
WordPress's built-in cron system runs on every page load, checking if any scheduled tasks need to run. This adds overhead to every request. Disable it and use a server cron job instead:
Add this to wp-config.php:
define('DISABLE_WP_CRON', true);
Then set up a cron job in cPanel to run every 5 minutes. See our Cron Job Guide for the setup steps.
Clean Up the Database
Over time, WordPress databases accumulate post revisions, auto-drafts, spam comments, transient options, and orphaned metadata. Use the WP-Optimize plugin to clean these up and optimize your database tables.
07. Database Optimization
For any CMS (not just WordPress), a bloated database slows down every page that queries it.
Optimize Tables in phpMyAdmin
In cPanel > phpMyAdmin, select your database, check all tables, and select "Optimize table" from the dropdown. This reclaims unused space and defragments the table files. It's especially useful after bulk deleting content or cleaning up spam.
Add Indexes for Custom Queries
If you're running a custom application with slow queries, make sure your WHERE and JOIN columns have indexes. You can add indexes in phpMyAdmin or via SQL. This is beyond the scope of this guide but makes a dramatic difference for database-heavy sites.
08. Advanced Optimizations
Enable GZIP Compression
GZIP compresses HTML, CSS, and JavaScript before sending them to the browser. Our servers have GZIP enabled by default, but you can verify by checking your site at giftofspeed.com/gzip-test.
Browser Caching Headers
Set far-future expiry headers for static assets so returning visitors load them from their browser cache instead of downloading them again. Add this to your .htaccess:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
</IfModule>
For more .htaccess optimization, see our .htaccess guide.
Consider Upgrading Your Hosting Plan
If you've done everything above and your site is still slow, it may be outgrowing shared hosting. A VPS or dedicated server gives you dedicated CPU, RAM, and disk I/O. See our hosting comparison guide to decide if it's time to upgrade.
Need Help Speeding Up Your Site?
Our WordPress consultation service includes performance auditing, caching setup, and optimization. We'll identify exactly what's slowing your site down and fix it.
Book a Performance ConsultationQuick Recap: Speed Up Your Site
If you only do 5 things from this guide, do these:
- Enable caching - LiteSpeed Cache for WordPress, or server-side caching for other CMS
- Upgrade PHP - PHP 8.x is 2-3x faster than older versions
- Optimize images - resize, compress, and use WebP format
- Enable Cloudflare - free CDN with global edge caching
- Remove unused plugins - every plugin adds load time
Last updated March 2026 · Browse all Website Tools articles · See also: WordPress Performance Guide
