Performance & SEO

How to Speed Up Your Website: Practical Steps and Free Tools

Discover practical tips and tools to boost your site’s load speed with UnderHost. From optimizing images to leveraging browser caching, we’ve got you covered.

Short answer: Measure first with PageSpeed Insights and your browser’s developer tools. Then fix the biggest causes in order: a slow server response (turn on page caching and use current PHP), heavy images (resize, compress, WebP or AVIF, lazy loading), too much JavaScript (remove what you do not need, delay the rest), and distance (a CDN). Measure again after each change, so you know what helped.

Step 1: measure

Tool What it tells you
PageSpeed Insights Core Web Vitals from real visitors, plus a lab test with specific suggestions
Browser developer tools (Network tab) Every file the page loads, its size and how long it took
Search Console, Core Web Vitals report Which groups of pages pass or fail for real visitors
WebPageTest Detailed waterfall charts from different locations and devices

Test the pages that matter most: the home page, a typical article or product page, and the checkout or contact page. Write the results down before you change anything.

Step 2: speed up the server response

The time to first byte (TTFB) is how long the server takes to start sending the page. If it is above about 0.8 seconds, fix it first, because everything else waits for it.

  • Turn on page caching, so pages are sent ready-made instead of built by PHP for every visitor.
  • Use the newest PHP version your site supports, with OPcache on.
  • Add an object cache such as Redis for dynamic sites. See our Redis Manager guide.
  • Clean up the database. See our database performance guide.

Step 3: fix images

  • Resize images to the size they are displayed. A 4,000-pixel photo shown 800 pixels wide wastes most of its weight.
  • Compress them, for example with Squoosh, or a CMS plugin that does it on upload.
  • Serve WebP or AVIF, which are much smaller than JPEG and PNG.
  • Lazy-load images below the first screen, but not the main image at the top.
  • Set width and height on images, so the layout does not jump while they load.

Step 4: reduce JavaScript and CSS

Scripts are the main reason pages feel slow to respond on phones. Remove plugins, widgets and trackers you do not need. Load the rest with defer or delay them until the user interacts. Keep fonts to one or two families and use font-display: swap.

On modern HTTP/2 and HTTP/3 connections, merging all files into one big bundle is no longer always faster. Test before and after if a plugin offers to combine files.

Step 5: turn on compression and browser caching

Most hosting already compresses text files with Gzip or Brotli. Check the content-encoding header in the Network tab. Static files should have long cache times, so repeat visitors do not download them again. Caching plugins and CDNs set this for you.

# Check compression and cache headers for a stylesheet
curl -sI -H "Accept-Encoding: br,gzip" https://example.com/wp-content/themes/theme/style.css | grep -iE "content-encoding|cache-control"

Step 6: use a CDN

A CDN serves images, scripts and styles from locations close to your visitors, which helps most when they are far from your server. See our CDN guide and our Cloudflare and cPanel guide.

Step 7: check the hosting

If the server response stays slow after caching, the site may have outgrown its plan. Signs include hitting CPU or memory limits in cPanel’s resource usage, and slow pages at busy times only. A larger plan or a Cloud VPS gives the site dedicated resources. Our mobile optimisation guide covers the mobile side.

Speed checklist

  • ✓ Page caching on, and current PHP with OPcache.
  • ✓ Images resized, compressed and in modern formats.
  • ✓ Unneeded plugins and scripts removed; the rest deferred.
  • ✓ Compression and browser caching active.
  • ✓ CDN in place for visitors far from the server.
  • ✓ Results measured before and after each change.

Need help with this?

Want a faster site? Our hosting includes current PHP versions and free SSL, and our team can help with caching and a CDN.

See web hosting plansContact @CustomerPanel

Frequently asked questions

What is a good page load time?

Aim for the main content to appear within 2.5 seconds on a phone (LCP), and for the page to respond to taps within 200 milliseconds (INP).

What slows websites down the most?

Usually a slow server response without caching, large images and too much JavaScript.

Do I need a CDN?

It helps most when visitors are spread across countries or the site has many images. Small local sites may not need one.

Should I combine CSS and JavaScript files?

Not always. On HTTP/2 and HTTP/3 it can make things slower. Test before and after.

Does hosting affect speed?

Yes. The server response time sets the starting point for everything else. Caching and current PHP help most.


Sources