There are plenty of website speed tests out there, some are better than others. Pingdom is one of these tools, this post explains how to fix some of the common issues it will highlight and how you can reduce your website load times.
Load the website above and enter your website homepage URL. You can also select where you want Pingdom to perform the test from. For the most accurate results pick somewhere other than where your website is hosted.
The first set of results outlines how the website performed overall. I’ve included a couple of example website results for comparison.
The first result shows a site that has been properly optimised for the web. The page load time was under 1 second and required 11 unique resources to load the page fully. All the resources totaled 76.9 KB which resulted in a performance score of 94%.
The screenshot above for example.com[1] shows the second website, which took slightly longer to load, but still under 3 seconds, the page required the browser to locate a total of 119 unique resources before the page was complete so a lot of the time taken the load the page was DNS lookups (finding the resource, rather than loading it). The site totaled 12.2 MB in size.
Reduce DNS Lookups or Make fewer HTTP Requests: You should try and minimise the number of URLs and resources the browser has to query in order to load your page. For example, if you request 3 different CSS files from the same domain try and merge these into a single file.
Compress components with GZIP: Most web servers will have a setting which allows content to be delivered using GZIP if the browser requests it.
Use cookie free domains: If you are using a CDN or hosting resources on different domains, anything that serves static content should be cookie-free.
Add expires headers: You should tell the browser how often it should request a fresh copy of a file each time it is accessed. A first time visitor will need to download everything, but if they return the same day, week, month their browser may have saved a copy of an image, CSS, or JavaScript file that won’t need to be looked-up again.
Avoid Redirects: 302 (temporary) redirects are often required if there is ongoing maintenance or a change is in progress. A 301 (permanent) redirect can be avoided by replacing the old URL with the new one.
Check the response code outputs. If the report is returning anything other than 2XX codes, check to see what you can do to reduce them.
Fix resources that return a 3XX response, these are being redirected and fixing them will reduce the number of HTTP requests the browser needs to make. Remove anything starting 4XX or 5XX, as they are not loading anything worthwhile.
1 not the actual example.com, but an anonymous website.
May 2024
Email deliverability refers to the ability of an email to successfully reach the recipient's inbox, rather than being marked as spam or bouncing back. High... Continue reading "Email and newsletter deliverability best practice"
February 2024
Animated SVGs, Scalable Vector Graphics, are increasingly popular choices for adding dynamic elements to websites. Their scalability, lightweight nature, and flexibility make them attractive options... Continue reading "Animated SVGs (Scalable Vector Graphics)"
December 2023
Scalable Vector Graphics (SVGs) have revolutionised website design, offering unparalleled flexibility, scalability, and interactivity. As versatile graphic elements, SVGs can enhance the visual appeal and... Continue reading "Using Scalable Vector Graphics (SVGs)"