David Fourie
  • Services
    • Installation or Migration
    • Theme Development
    • Search Engine Optimization
    • Security
    • Speed Optimization
    • Google Search Console
    • Google Tag Manager
    • Google Analytics
    • Marketing Integrations
    • Something Else
  • Portfolio
    • WordPress Installation
    • WordPress Migration
    • Theme Customization
    • Search Engine Optimization
    • Security Optimization
    • Speed Optimization
    • Google Search Console
    • Google Tag Manager
    • Google Analytics
    • Marketing Integrations
  • Articles
    • WordPress
    • Plugin Reviews
    • Freelancing
  • About David
  • Search
  • Menu Menu

My WordPress Site Speed Optimization Process

Clients often want to know what a freelancer will do before hiring them, particularly in terms of speed optimization. While it is a reasonable request in a broad sense, freelancers may prefer not to disclose too much detail. There are those clients that will ask for the information, and then use the specifics provided to hire a cheaper freelancer to do the work. This comes down to an unpaid consultation. There are also freelancers who bid on work that they are not qualified to do.

Instead of specifics, I will outline my process. I am available for consultations and for implementation.

Everything Starts With DNS

In simple terms, DNS is a system of linking a domain name to the specific server where the website associated with the website resides. Where your DNS ultimately responds from can have a large impact on your page load speed. Typically, free DNS providers respond slower to queries than premium providers, with the notable exception of Cloudflare. Visit DNSPerf for up to date statistics.

A website hosted on a slow DNS server can benefit from moving its DNS resolution to another service.

Additional reading: What is DNS? by Cloudflare.

Hosting Environment

Shared hosting, managed WordPress hosting, VPS or dedicated server? Apache, NGiNX or LiteSpeed? Using a CDN or not? Serving content over HTTP/1.1, HTTP/2 or HTTP/3?

These considerations all have an influence on how fast a website loads, as well as which optimizations are possible. For example, a LiteSpeed web server serves more resources faster than NGiNX or Apache, comes with native HTTP/3 support and its own free WordPress plugin (LSCWP) which integrates with the server software.

A2 Hosting provides LiteSpeed servers on their Turbo plans.

Website Construction

How a website is constructed can have a big influence on how much optimization can be done. While drag and drop page builders are very popular and have improved tremendously in recent years, some are still better than others in terms of speed optimization. Elementor, while very popular, is very bad at optimizing websites for speed, as it creates an enormous amount of code to enable it to function properly.

Similarly, some themes are better at optimizing for speed than others. My recommended WordPress theme, Enfold, has options to combine and minify all theme CSS and JavaScript, as well as an option to only load resources used on the page. This is much better for loading speed than themes that load resources on all pages, whether they are used or not.

Website Content

Finding someone who is good at both design and programming is very rare. I am talented at many things, including writing and coding. It does not include the art of combining colours and fonts to create something spectacularly beautiful. I willingly leave that to others who are better at it than me.

Unfortunately, the lines between design and coding is so blurred that clients often expect the one to be able to do the other. Page builders are the enablers of this school of thought.

Beauty always comes at a price, and in websites, that price is usually speed. Sometimes the solution is to recreate the same page with correctly scaled images. Other times, it is necessary to sacrifice some elements to gain several seconds in page load speed.

Off-Site Content (Marketing Heaven; Visitor Hell)

I recently sent a proposal for a project on Upwork that included site speed optimization. In short, the client wanted three external marketing tracking scripts added to the site, and the page load speed reduced from 12 seconds to 3 seconds.

Upon investigation, I found that the site was already loading 40 external marketing tracking scripts and 19 stylesheets from 25 domains. Of course, my proposal pointed this out, indicated that 3 seconds was unrealistic without sacrificing some – if not most – of these scripts, but that I was willing to work on optimizing the site within the constraints mentioned. I was not selected for the project.

My experience in PMEL tells me that measuring results is important, but it is equally important to be selective in choosing what to record and measure so that it does not become an onerous process.

The Human Touch

The order in which resources are loaded, and when, can play a role in website loading speed.

While optimizing this website, I knew that Google Tag Manager had to load first, because Google Analytics is injected into the page through it. The sooner Google Tag Manager loaded, the sooner the request to Google Analytics would be made. I also had to move my favicon and webmanifest files to earlier in the queue, because by the time they were loaded (at the end of the page load), the connection to my server would be dropped by the browser, resulting in a new DNS lookup and negotiation for a connection to my domain. By moving them earlier into the queue, they are using a connection that is already open to load into the browser cache for when they are needed at the end of the page load.

This is an analysis that is not possible to automate, as it would vary greatly per website setup.

My WordPress Site Speed Optimization Process

My WordPress site speed optimization process involves all the previous steps to find a solution that works best within the constraints given.

Ideally, I would simply set up a Lightsail instance with LiteSpeed Web Server serving through the Cloudflare CDN, optimized with LSCWP, change the theme to Enfold, remove most scripts, use websafe fonts, minimize image usage and voilà: fast website.

Unfortunately that is not suitable in all instances. Site speed optimization is a process that has to play off many variables to arrive at a solution that serves all interests well. Yes, the client doesn’t want to pay a fortune for the perfect server environment, yes, the design team wants a site that portrays the brand well, yes the marketing department need statistics, and yes, the visitor wants a page that loads fast. These goals are not mutually exclusive.

While site speed optimization looks at the entire website as a whole, page speed optimization should also be done on a page-by-page basis. This means that each time content is published, it should undergo a speed optimization check, as it should undergo an SEO check.

Like SEO, site speed optimization is not a once-off exercise. HTTP/2 with its many speed optimization options only became largely available from web hosting companies in recent years, after 2015, when it became a proposed standard. As of August 2020, HTTP/3 is available but disabled by default in most new versions of browsers and LiteSpeed Web Server is the only web server that natively supports it.

Conclusion

WordPress site speed optimization, when done correctly, is much more than simply installing a plugin and selecting a couple of options.

It is vitally important that clients understand that there will necessarily be trade-offs between cost, function, presentation and speed. Any freelancer who promises results without trade-offs are – quite frankly – deceiving the client.

Certainly, great gains can be made on a fully unoptimized site by simply installing a plugin and selecting some options, but that does not mean that the site is fully optimized or as fast as it could be.

Get In Touch With Me

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This contact form is deactivated because you refused to accept Google reCaptcha service which is necessary to validate any messages sent by the form.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • More
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to print (Opens in new window)

Hire Me!

Upwork.com

Sparrows Children’s Home

Sparrows Children's Home

It costs R50 (~$3)
per day to provide a child with food.
Please consider a small donation.

A2 Hosting
LiteSpeed Web Server
Jetpack
© 2011 - 2021 FMC. All Rights Reserved.
  • Twitter
  • Facebook
  • LinkedIn
  • Privacy Policy
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

Accept settingsHide notification onlySettings

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refuseing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy Policy
Accept settingsHide notification only

Add David Fourie to your Homescreen!

Add
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.