|
Web Design

How to fix a slow website without a developer

Slow sites are usually heavy images and too many plugins, not bad hosting. A phone on mobile data will tell you more than any score out of 100.

How to fix a slow website without a developer

"The site is slow." Every designer hears it, and every designer checks on a laptop with fast WiFi and decides the client is exaggerating. I did that too, until I turned off WiFi, switched to mobile data, and watched a 4.2MB photo crawl onto the screen one strip at a time.

Most of the fix is weight. You can find it and fix it without hiring anyone.

Measure before you touch anything

Run the live URL through Google PageSpeed Insights. Ignore the score for a moment and look at two numbers: largest contentful paint, and total page size. If the page is over 3MB, you already know the problem.

Then test like a customer. Open the site on your phone with mobile data, not office WiFi. Better still, ask someone on a 3G-only connection to open it and time it with a stopwatch. The number that matters is how long until they can read the headline, not how long until every script finishes.

Write down three things: the page size, the slowest image, and the number of plugins. Most fixes come from those three.

Images, almost every time

Client photos arrive from phones at 4000 pixels wide and 3MB each. A website needs 1600 pixels at most for a full width image, and often 800 is enough.

Compress every image before upload. Use Squoosh, TinyPNG or the compression built into your media library plugin. Convert to WebP if your host supports it, which most do now. A 3MB photo becomes 180KB with no visible difference on a phone.

Then set the display size. A 1200 pixel image shown in a 400 pixel box is wasted weight. Upload the size you need, or use WordPress's srcset so it serves a smaller file to phones.

Delete the images you replaced. They stay in the media library and in the backup, and they make every migration slower.

Plugins, fonts and the scripts nobody needs

The plugin pile

I once counted 31 plugins on a client site. Page builder, slider, form, popup, gallery, countdown, social share, related posts, five that did nothing visible. Each one loads its own CSS and JavaScript, and some load it on every page whether it is needed or not.

Deactivate plugins one at a time and check the site after each. If nothing breaks, delete it. If you are not sure what a plugin does, look at when it was last updated. Anything abandoned for two years is a liability, not a feature.

Keep the list short: a form plugin, an SEO plugin, a caching plugin, a backup plugin, and the page builder. That is five. Most sites do not need more.

Fonts and scripts you loaded for no reason

Every extra font weight is a file. If you use three weights of one font, that is three downloads. Two fonts with two weights each is usually enough. Host the fonts locally if your setup allows it, because Google Fonts adds a connection to another server before your text can render.

Then look at the header. Chat widgets, tracking scripts, heatmap tools, and that animation library you added for one hover effect all block or delay the page. Remove what you cannot justify. A chat widget that nobody uses costs every visitor half a second.

Hosting: when the fix is to move

Shared hosting at 15,000 naira a year is shared with hundreds of sites. Sometimes that is fine. Sometimes your neighbour's traffic spike becomes your slow afternoon, and no amount of image compression saves you.

Signs it is the host: the admin dashboard is slow too, PageSpeed shows a long server response time above 800ms, and the site is slow at 3am when nobody is visiting. Move to a better shared plan, or a small VPS if you can manage it. Expect 60,000 to 150,000 naira a year for decent shared hosting in Nigeria or a nearby region.

What not to do

  • Do not install six optimisation plugins. They conflict and cancel each other out.
  • Do not minify everything on a site you cannot debug afterwards.
  • Do not add a slider because it looks impressive. Sliders are heavy and people swipe past them.
  • Do not promise a 100 PageSpeed score. Mobile scores above 70 are already good for a small business site.
  • Do not blame the client's network until you have tested on a normal phone.

I made the plugin mistake myself. I installed five speed plugins on one site in 2022 and the load time went from 6 seconds to 9. Each one was optimising something the other had already changed. I removed four and kept the caching plugin, and the site dropped to 2.8 seconds.

Test again, then hand it back

Clear your cache, then open the site on a phone with WiFi off. Time it to the headline. Run PageSpeed again. If the page is under 2MB and the headline shows in under three seconds on a normal connection, you are done.

Send the client a before and after screenshot with the numbers. They will not understand largest contentful paint, but they understand "9.1 seconds to 2.4 seconds".

For this week, pick one site you manage and run the 3G test today. Compress the three biggest images. Deactivate one plugin you cannot explain. That is an hour of work and it will beat most paid speed audits. If you are still learning the tools, read the tools beginners should learn first. When you finish, document what you changed so the next person can undo it, using the handover checklist. The Professional Web Design and Development course covers performance from the build stage, which is cheaper than fixing it later.

Dave Partner

Dave teaches digital skills at Braintem and has helped thousands of Nigerians move from watching tutorials to charging for real work. He writes about the parts nobody puts in the course trailer.