When it comes to website and search engine optimisation one of the first topics that comes up is page speed. In the case of SEO, for example, we know that Google looks at page speed when determining the ranking of pages in its search engine. There are many means of measuring page speed, but little is known about how Google themselves distinguish a slow loading page from a fast one. However, research from the likes of SEO specialists Moz have suggested that there is one site speed factor that influences search engine rankings more than any other – Time to First Byte (TTFB).
In this article, we will take a look at precisely what TTFB is, how it impacts SEO, and what you can do to reduce the time to first byte on your website.
What is First Time to Byte?
Simply stated, TTFB is the time it takes your browser to load the first byte from a web server when you request a URL. In more technical terms, Time to First Byte is calculated by the latency of a round trip to the web server and back to the end user.
TTFB is calculated in milliseconds, and is composed of three main elements:
- The time it takes to load the first byte of webpage
- The time it takes to send the HTTP request
- The connection time
TTFB is distinct from how page load time is generally understood, where the time is calculated by how long it takes for the page to load completely. In this sense, TTFB is not a user-focussed metric, as the user is oblivious to the time to takes to load the first byte of a webpage, and judges speed only by the time it takes to load the page. However, a website with a long TTFB waiting period can frustrate visitors, leading them to bounce back to the search results if they are kept waiting for too long.
So, what determines a positive TTFB? According to Google, you should be aiming for 200 milliseconds or less, but anything above 500 milliseconds is rated as above average. Here’s the breakdown:
- 100 – 200 milliseconds – Very good
- 300 – 500 milliseconds – Good
- 600 – 900 milliseconds – Average
- 1 second and above – Poor
As we made reference to in the introduction of this article, recent research has revealed the potential impact of TTFB on search engine rankings. The study tested the performance of over 100,000 websites in the search engine results pages for 2000 different search queries. The results of the test revealed a ‘clear correlation between a faster time to first byte and a higher search engine rank‘. The study found this to be the case not only for searches containing a couple of keywords, but for long tail keywords (search phrases containing three or more words) as well.
It is an established fact that user experience is a key focus for Google in ranking webpages, and page speed is one of the most objective metrics available to Google when it comes to evaluating the quality of a user’s experience with a particular page. As such, page speed can have a very real impact on the rankings of your website. The aforementioned research provides further insight into how Google measures page speed, and highlights just how important TTFB is in that calculation.
How to Reduce First Time to Byte?
In this section we will take a look at some of the steps you can take to reduce the TTFB on your website.
DNS response time
Improving your DNS response time is a quick and effective way of reducing your TTFB. A high end DNS provider such as Cloudflare will help to reduce TTFB as they have nodes throughout the world and implement Global DNS caching.
Change your web hosting
If you’ve updated your DNS provider but still haven’t been able to move the needle on TTFB, the next step is to look at your web hosting. For example, if you’re currently on a shared hosting plan, then it’s quite common to experience slow TTFB as you are sharing your web server with other websites. To improve your TTFB, you will want to explore other web hosting options. Here are three of the most popular:
As the name suggests, this type of hosting hosts your website on a dedicated server. If you are upgrading from shared hosting, this can help to reduce your TTFB significantly.
On a cloud hosting plan, your website is hosted on multiple servers rather than just one. This also represents an improvement on shared hosting, and is a good alternative to dedicated hosting, often providing slightly more functionality.
Managed hosting provides an ‘all-in-one’ hosting package, including web hosting as well as website building functionality. This is a great option for new businesses, or businesses who are thinking about redesigning their existing website.
Set up page speed monitoring
Finally, it’s crucial that you monitor the speed of your TTFB. External monitoring is important as it enables you to measure the impact of the changes you have made to improve TTFB, as well as the capacity to track performance over time.
The StatusCake page speed tracking application allows you to monitor your time to first byte speed to ensure that you do not drop below the 200 millisecond threshold.
More from StatusCake
4 min read Stop what you’re doing and make your passwords more secure! How, you ask? Read on to find out. Hackers and scammers won’t like you for this!
7 min read Are you a developer? Are you working with JSON or thinking to? You’re going to need this tutorial guide to walk you through everything you need to know about JSON so you can be a pro in no time!
6 min read In this tutorial, I’ll be using one of the most popular frontend tools for building a design system – Storybook. This works really well with React, so I’ll be setting up a React project with an example component and showing you how to integrate Storybook within that.
2 min read Are you using a VPN whilst you work from home? No? Well, you should definitely get reading this over your tea break; internet safety has never been so important and this is one thing that is quick, easy and effective to use!
6 min read Calling all developers! We’ve got all the best Visual Studio Code shortcuts you could need, with step-by-step gifs showing you EXACTLY how to do it. Save time, look at them now!
5 min read We get asked questions about uptime monitoring all the time, and we know that Google does too. So we’ve compiled the top 8 questions that are consistently asked so you can get all of your uptime answers, all in one place!