The metric to measure the time between a request for a
resource and when the first byte of a response arrives.
TTFB
Time To First Byte
GOOD
NEEDS
IMPROVEMENT
POOR
800 ms 1800 ms
#brightonSEO | @AshNewSEO
LCP
TTFB Resource Load Delay Resource Load Time
Element Render
Delay
HTML Document
LCP Resource
Document Stylesheet Image Script
Time
#brightonSEO | @AshNewSEO
TTFB precedes every other meaningful user
experience metric
Redirects Cache DNS TCP Request Response Processing Load
#brightonSEO | @AshNewSEO
TTFB
Back-end Front-end
Browser starts
processing first
byte
Redirects Cache DNS TCP Request Response Processing Load
#brightonSEO | @AshNewSEO
TTFB
Back-end Front-end
Browser starts
processing first
byte
Each redirect can add up to 80ms to TTFB
Source: Matthew Edgar 2019 Case Study https://www.matthewedgar.net/do-redirects-add-to-
website-speed/ #brightonSEO | @AshNewSEO
Good Redirects
One Server-side Redirect
Server
redirects
to page B
Request
for Page A
Loads
Page B
Server
response
for page B
#brightonSEO | @AshNewSEO
Users connection
speed & quality
Severs connection
speed & quality
Server software &
hardware
Users browser &
hardware
Limiting Factors
Distance from user
USER / CRAWLER ORIGIN SERVER
DATA TRANSFER
Data packet size
Request handling
Severs connection
speed & quality
Server software &
hardware
Users connection
speed & quality
Users browser &
hardware
Limiting Factors
Distance from user
USER / CRAWLER ORIGIN SERVER
DATA TRANSFER
Data packet size
Request handling
Severs connection
speed & quality
Server software &
hardware
Users connection
speed & quality
Users browser &
hardware
Limiting Factors
Distance from user
USER / CRAWLER ORIGIN SERVER
DATA TRANSFER
Data packet size
Request handling
Maximise Specs
Dedicated vs
Shared Hosting
Maximised
Memory
Better CPUs
(with more cores)
https://ismyhostfastyet.com/
#brightonSEO | @AshNewSEO
Most Common Web Server Software
Source: W3Techs
https://w3techs.com/technologies/overview/web_server
How do we make it fast?
Minimise redirects
#brightonSEO | @AshNewSEO
How do we make it fast?
#brightonSEO | @AshNewSEO
Utilise caching
+ Use a CDN!
How do we make it fast?
#brightonSEO | @AshNewSEO
Use a premium DNS
service
How do we make it fast?
#brightonSEO | @AshNewSEO
Upgrade your
transfer protocols
How do we make it fast?
#brightonSEO | @AshNewSEO
Reduce the load
How do we make it fast?
#brightonSEO | @AshNewSEO
Upgrade infrastructure /
Use a premium
hosting service
CREDITS: This presentation template was created by Slidesgo,
including icons by Flaticon, and infographics & images by Freepik
Thank You
Notas del editor
Key points
Web server SEO is the process of helping us meet those goals by ensuring our servers are: Fast & Reliable
In this talk we will break down the key elements of web server set ups 2 topics into understandable con the key elements of web server set ups thay
Key points
Web server SEO is the process of helping us meet those goals by ensuring our servers are: Fast & Reliable
In this talk we will break down the key elements of web server set ups 2 topics into understandable con the key elements of web server set ups thay
Key points
Web server SEO is the process of helping us meet those goals by ensuring our servers are: Fast & Reliable
In this talk we will break down the key elements of web server set ups 2 topics into understandable con the key elements of web server set ups thay
Key points
Web server SEO is the process of helping us meet those goals by ensuring our servers are: Fast & Reliable
In this talk we will break down the key elements of web server set ups 2 topics into understandable con the key elements of web server set ups thay
Key points
Web server SEO is the process of helping us meet those goals by ensuring our servers are: Fast & Reliable
In this talk we will break down the key elements of web server set ups 2 topics into understandable con the key elements of web server set ups thay
Key points
Time to First Byte (TTFB) is a foundational metric for measuring connection setup time and web server responsiveness
Redirects are naturally hard to avoid in our industry, but if they are necessary then they should be limited to 1
Redirects are naturally hard to avoid in our industry, but if they are necessary then they should be limited to 1
Redirects are naturally hard to avoid in our industry, but if they are necessary then they should be limited to 1
Redirects are naturally hard to avoid in our industry, but if they are necessary then they should be limited to 1
Service workers
Improves performance by reducing the need to retrieve data over networks or from storage mediums
There are several levels at which caching can occur:
Browser caching: This type of caching occurs in the client's web browser and stores copies of resources locally on the client's computer. When a client makes a request for a resource that is already stored in the browser cache, the browser can serve the cached copy instead of sending a new request to the server.
Intermediate caching: This type of caching occurs at the network level, typically in a proxy server or content delivery network (CDN). Intermediate caching stores copies of resources that are shared among multiple clients, so that subsequent requests for the same resource can be served more quickly. Varnish is an example of an intermediate cache.
Server caching: This type of caching occurs on the origin server, and stores copies of resources that are specific to a particular client or session. Server-side caching can reduce the load on the server by serving repeated requests more quickly, but it does not reduce the network traffic between the client and the server.
A cache hit ratio is a measurement of how many content requests a cache is able to fill successfully - aim for a high cache hit ratio.
TTL stands for Time to live, it is the amount of time you can set for data to remain valid before it is discarded.
Beware of stale content.
Key points
For the majority of you simply making sure we use a premium DNS provider will be enough to make a difference to your TTFB.
However there are ways you can optimise your DNS configurations but it’s best to work with someone who knows what they are doing to execute this.
TLS was released in 2018 but has been more widely used by browsers since 2020
HTTP/2 uses multiplexing which allows it to have multiple TCP connections open at once. This results in the ability for the server to receive and send multiple requests at once. Saving valuable page load time.
QUIC (pronounced "quick") is a general-purpose[2] transport layer[3] network protocol initially designed by Jim Roskind at Google.
User Datagram Protocol (UDP) is a simpler, connectionless Internet protocol wherein error-checking and recovery services are not required. With UDP, there is no overhead for opening a connection, maintaining a connection, or terminating a connection; data is continuously sent to the recipient, whether or not they receive it. QUIC (Quick UDP Internet Connections): QUIC is a transport layer protocol developed by Google to improve the performance of web applications by reducing latency and providing better congestion control compared to traditional TCP. QUIC is built on top of User Datagram Protocol (UDP) instead of TCP, which helps eliminate some of the delays associated with TCP's connection establishment and congestion control mechanisms.
Key points:
User
Limiting factors start with the speed and bandwidth of the users connection to a server. They will most likely be connecting via a broadband or mobile network. Let’s hope they are with Virgin Media to benefit from the UK’s fastest network.
Another minor limiting factor can be the users browser choice, thats why its so important to consider the experience of users who may still be using browsers with poor rendering engines such as internet explorer. A users hardware these days is not much of consideration but we can’t discount that some people may still use a very old phone or computer.
We can’t influence those parts but we can ensure that our code and server set up is as optimised as possible to best serve users with slow networks and old software & hardware.
Server
The areas we can influence however are the basis for this talk and
Key points:
User
Limiting factors start with the speed and bandwidth of the users connection to a server. They will most likely be connecting via a broadband or mobile network. Let’s hope they are with Virgin Media to benefit from the UK’s fastest network.
Another minor limiting factor can be the users browser choice, thats why its so important to consider the experience of users who may still be using browsers with poor rendering engines such as internet explorer. A users hardware these days is not much of consideration but we can’t discount that some people may still use a very old phone or computer.
We can’t influence those parts but we can ensure that our code and server set up is as optimised as possible to best serve users with slow networks and old software & hardware.
Server
The areas we can influence however are the basis for this talk and
Key points:
User
Limiting factors start with the speed and bandwidth of the users connection to a server. They will most likely be connecting via a broadband or mobile network. Let’s hope they are with Virgin Media to benefit from the UK’s fastest network.
Another minor limiting factor can be the users browser choice, thats why its so important to consider the experience of users who may still be using browsers with poor rendering engines such as internet explorer. A users hardware these days is not much of consideration but we can’t discount that some people may still use a very old phone or computer.
We can’t influence those parts but we can ensure that our code and server set up is as optimised as possible to best serve users with slow networks and old software & hardware.
Server
The areas we can influence however are the basis for this talk and