Speed Up Your Website With SG Optimizer

Speed Up Your Website With SG Optimizer Plays from YouTube

A free, step-by-step tutorial by Ferdy. Watch it right here or on YouTube.

Related: Learn more about WordPress

How to speed up your WordPress website with SG Optimizer

If your WordPress website is hosted at SiteGround, you already have some strong speed tools. In this tutorial I take a slow website and make it a lot faster with the SiteGround Site Tools and the free SG Optimizer plugin. I do not explain all the technical stuff behind it. I just show you which buttons to push.

The result: my test site went from 29 on mobile and 64 on desktop in Google PageSpeed Insights to 93 on mobile and 99 on desktop. Part of that came from SG Optimizer, and part from removing a few plugins I did not need.

Good to know: I recorded this video in 2020. The SiteGround dashboard and the plugin may look different today, so some menus and names can have moved. For a tour of the SiteGround dashboard, see my SiteGround tutorial. If you want a general approach that works with any host, take a look at the speed up your website prompt.

What you need

  • A WordPress website on SiteGround hosting (in the video I use the GrowBig package, which includes the caching options)
  • The free SG Optimizer plugin
  • A speed test tool: Google PageSpeed Insights, Pingdom Tools or GTmetrix

Step 1: test your website speed first

Before you change anything, measure where you are. Enter your URL in Google PageSpeed Insights, Pingdom Tools and GTmetrix and write down the scores. Mobile is the one that matters most. My site scored really low, and one test even failed because the site was so slow.

Tip: the results can jump around, especially when you run several tests at the same time. Run a test again if a score looks strange.

Why does speed matter? A faster website lowers your bounce rate, and that means more sales or more of whatever you offer.

Step 2: turn on caching in SiteGround Site Tools

  1. Log in at SiteGround, go to Websites and click Site Tools next to your website.
  2. Go to Speed and then Caching.
  3. Check that NGINX Direct Delivery is turned on. Sometimes it is on by default. If not, turn it on.
  4. Turn on Dynamic Cache for your domain. Under actions you can also find the link to the WordPress plugin.

What does caching do? A WordPress website runs on a lot of PHP and JavaScript. Caching turns the output into plain HTML and keeps it in memory, so it does not have to be built again for every visitor. Less work means a faster page.

Step 3: install SG Optimizer and set it up

In your WordPress dashboard go to Plugins, Add New, search for SG Optimizer, install it and activate it. You will now see SG Optimizer in the menu on the left. Everything you change there is saved right away, so there is no save button.

Supercacher settings

Turn on Dynamic Caching and Automatic Cache Purge. You can also test a URL to see its cache status. I also wanted to turn on Memcached, but it said it was unable to. The fix: go back to Site Tools, open the third option under Speed (Memcached), turn it on there, and then you can enable it in the plugin.

Environment optimization

Turn on Force HTTPS if your website has an SSL certificate, and turn on the sub option Fix insecure content. You really want a secure website these days. Then turn on the environment optimization option. Heartbeat optimization and DNS prefetch are there too, but I personally do not use them.

Frontend optimization

Here you can minify and combine CSS and JavaScript files, optimize the loading of Google Fonts, remove query strings from static resources and disable emojis. I turned them all on. But this is the part where things can break, because the plugin compresses and combines your files. After every switch, check your website. If something looks wrong, turn that option off again.

Media optimization

  • Turn on optimization for new images, and click Start optimization to optimize the images you already have. This takes a while.
  • If you use Cloudflare or another CDN, the plugin says to keep its image automation off.
  • Choose lossless or lossy. Lossy makes files smaller and faster, but the quality gets a bit worse. I set the quality to 70%. If you are a photographer, I would not do this.
  • Turn on Lazy load media, so images load when they are needed.

Step 4: remove plugins you do not need

After SG Optimizer my mobile score was only a little better. The big jump came from cleaning up plugins. I removed a social feed plugin that loaded a big feed block and kept asking me for a rating, a social share plugin that took a lot of time to load, and All-in-One WP Migration, which I only use now and then to move a site. After that my mobile score went to 93 and desktop to 99.

My advice: some free plugins exist mainly to fill your dashboard with ads. Sometimes it is better to pay for a clean plugin, or simply use a link or icon instead of a heavy feed.

Frequently asked questions

Can SG Optimizer break my website?

The caching settings are safe, but the frontend options that combine and minify files can cause layout problems. Turn them on one by one and check your site after each one.

Does SG Optimizer work on other hosting companies?

The caching parts work together with the SiteGround servers, which is why you also turn things on in Site Tools. If you host somewhere else, use the caching tool of your own host.

Should I use lossy image compression?

It makes images smaller and your site faster, but with a little less quality. For most business sites that is fine. For a photography portfolio I would keep the quality high.

What else can I do to make WordPress faster?

Remove plugins you do not use, optimize your images and use good hosting. You can also check your speed from inside WordPress, which I show in this tutorial.

1 thought on “Speed Up Your Website With SG Optimizer”

Leave your comment

Your email address will not be published. Required fields are marked *

Never miss
a tutorial

Every tutorial lives on YouTube. Subscribe and never miss a new one.

Black Friday A full year of Hostinger web hosting + free domain for about $30 with coupon code FERDY1 year hosting + free domain: about $30 with code FERDY Ends Dec 14 Get the deal Ad