Skip to content

PageSpeed Insights suggestions explained

Photo of Daniel Zuccon

Daniel Zuccon

Co-Founder & Operations

Posted: 25 Mar 2020

You may have been forwarded results from Google's PageSpeed Insights or Pingdom before. It is certainly a great tool, but some of those items will have little to no impact, or be impossible to fix with your current website setup.

Here we will break them down a bit so you can determine which are going to be the best 'bang for buck' to fix.

Avoid landing page redirects

If your website is running on 'https' (because you should be!) and 'www', then you want to make sure any links to your website, both internally and externally, are using this format. 

You should be '301 redirecting' all other variations of your website in case they do get accessed, but you don't want to be sending users to the wrong URL and making them wait for those redirects to happen.

Right: https://www.yourcompanyname.com.au

Wrong: http://www.yourcompanyname.com.au

Wrong: https://yourcompanyname.com.au

Wrong: http://yourcompanyname.com.au

This should be fairly easy to fix yourself. Providing the redirects are already in place (most major CMS's such as WordPress will do this for you), then just make sure you are using the correct variation of your URL.

Eliminate render-blocking JavaScript and CSS in above-the-fold content

WordPress is very guilty of this one.

It will load in lots of files from various plugins, and just dump them at the top of your page. What happens now is that your visitors need to wait to download these files individually before the page can actually start to display in their browser. 

In reality, a lot of these extra files relate to the 'pretty' stuff, and are not required to display the important content to the user. So you can actually defer these to be the last thing loaded on the page as opposed to the first. 

This can be hard to fix by yourself so check with your developer first.

Minify HTML/CSS/JavaScript

When a developer writes any code, it's generally written to be nice and readable to them. However, your web browser doesn't care for the hidden comments or pretty spacing.

By 'minifying' these documents you can strip out all of the unnecessary 'bloat' and reduce the filesize that the user has to actually download. 

Your CMS should have a plugin for this, otherwise refer to your developer. Our favourite plugin to do this in WordPress is Autoptimize.

Optimize images

Apologies for the American spelling - just wanted to stick with their exact wording.

Take note of the actual measurements returned. Sometimes it will say it is a 60% savings, but it's on a 2kb image, which is not worth your time to fix (unless you have a lot of free time).

One of our favourite tools to run your images through is Bulk Resize Photos - do this before you even upload them to your website. If you didn't guess from the name, you can actually dump a whole bunch of images in there at once and it will send the optimised images right back to you.

To put a number on it, perhaps any savings over 50kb is definitely worth fixing up right now. There are plenty of tools and plugins to do this available for all CMS's.

Leverage browser caching

Some of these will be impossible to control, such as Facebook share buttons, Google Analytics or Google Tag Manager, so you can ignore these. 

For anything else that rarely changes, such as images, you can easily set the cache time via your .htaccess file. Your syntax may vary slightly depending on your hosting provider but start with something like so:

ExpiresActive On

ExpiresByType image/jpg "access 1 year"

ExpiresByType image/jpeg "access 1 year"

ExpiresByType image/gif "access 1 year"

ExpiresByType image/png "access 1 year"

ExpiresByType text/css "access 1 month"

ExpiresByType text/html "access 1 month"

ExpiresByType application/pdf "access 1 month"

ExpiresByType text/x-javascript "access 1 month"

ExpiresByType application/x-shockwave-flash "access 1 month"

ExpiresByType image/x-icon "access 1 year"

ExpiresDefault "access 1 month"


Photo of Daniel Zuccon

Daniel Zuccon

Co-Founder & Operations

With over 20 years experience in the industry, Daniel has produced an extensive number of web projects for some of Australia’s largest brands. His passion and interest for web development originated from building his first website in 1998 (in exchange for a skateboard, no less!) to running many successful boutique eCommerce stores and large online communities.

Since then, Daniel has made the leap of co-founding Optimising, the specialist SEO Agency that we know today. From its humble beginnings, the team has grown from a two-man enterprise to a large core team, growing into a highly respected digital agency.

Optimising

We value purpose over profit and take action.

Our values and beliefs have always set the tone and approach to our business. It's not just enough to grow as a company and produce profits, we have a global responsibility to make our economy more inclusive and sustainable. As both a B Corp and a member of 1% for the planet, we have further cemented this purpose within our organisation.

However, our work isn't done quite yet. For Optimising, this is simple the start of our journey towards building a better business and world!

Partner with
the real deal

Chat with us today and we’ll get you the results you deserve.

Google Partner Premier 2022
Shopify plus partners
AWIA: Australian Web Industry Association
Aboriginal Flag
Torres Straight Flag

We acknowledge the Wurundjeri Woi Wurrung people as the Traditional Owners of the land now known as Richmond. We pay our respects to Elders from all nations - and to their Elders past, present and future.

Pride flag

Optimising is committed to cultivating and preserving a culture of inclusion and connectedness. We are able to grow and learn better together with a diverse team of employees.