ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
TOM POOL
How To Make Any Site
Blazing Fast!!! 🔥🔥🔥
@cptntommy linkedin.com/in/tom-pool
Who Am I?
@cptntommy
@cptntommy
Look After
Technical
Output Of
The
Agency
@cptntommy
I Get To Work On Some
Awesome Projects
@cptntommy
@cptntommy
I Get To Work With Some
Awesome People
@cptntommy
How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20
Recently Won ‘Young Search
Professional Of The Year’
I Spend Far Too Much
Time On A Bike
I Really Enjoy Testing And
Messing Around With Sites
Over The
Next 15
Minutes,
We’re Going
To Focus On
@cptntommy
Some Really Slow Sites
@cptntommy
Some Really Slow Sites
Why They’re So Slow
@cptntommy
Some Really Slow Sites
Why They’re So Slow
How We Can Fix Them
@cptntommy
Some Really Slow Sites
Why They’re So Slow
How We Can Fix Them
And Some New Speed Stuff
@cptntommy
So
@cptntommy
I Was
Trying To
Buy
Something
@cptntommy
All About
Those
Deals
And Ended
Up On Some
Undisclosed
Website
@cptntommy
That Was
Really….
Really…..
Slow
@cptntommy
This Was on 4G, On A
Pretty New Phone - So
You’d Expect Decent
Performance
@cptntommy
So Like A
Good SEO
@cptntommy
I
Immediately
Put It Into
Page Speed
Insights
@cptntommy
Being An SEO Has
Ruined The Entire
Web Experience For
Me
@cptntommy
I Just Want To Test
EVERYTHING
@cptntommy
@cptntommy
For A Brand That
Seems Focused On
Speed
@cptntommy
So It’s Pretty Slow...
@cptntommy #ReadingSEO
It’s Pretty
Slow...
There’s An Autoplaying
Video, Bunch Of JS, High-
Res Images, Loads Of CSS,
Many Requests…
@cptntommy
Looking At Some Of
The Stats
@cptntommy
How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20
Basically, A Bunch Of
Red Stuff….
@cptntommy
Page Speed Insights
Also Offers Some
Good Solutions
@cptntommy
@cptntommy
Even Tells You How
Much Time Could Be
Saved
@cptntommy
There’s Also Some
More Advanced
Diagnostics
@cptntommy
Again, More Red
Stuff….
@cptntommy
However
@cptntommy
I’d Like To Focus On
Other Speed Fixes,
That Aren’t That Well
Covered By Google
Documentation
@cptntommy
But The Slowness
Doesn’t Stop There
@cptntommy
I Also Found This
Wonderful Gem
@cptntommy
@cptntommy
This Scores A Speedy
@cptntommy
This Scores A Speedy
@cptntommy
Investigation Shows
A Pretty Big
JavaScript File.
@cptntommy
Definitely Need That
Here
@cptntommy
One More Example
Before We Get Into
The Actual Fun Stuff
@cptntommy
We’ve Found The
Fabled Number
@cptntommy
@cptntommy
@cptntommy
The Biggest
Problem Here
Is No
Compression.
@cptntommy
There Is Also
Some Other
Interesting
Stuff
@cptntommy
@cptntommy
@cptntommy
@cptntommy #ReadingSEO
About 2% Of
These Are
Actually Used
On The Page
@cptntommy
Is That Big A File
Really Needed?
@cptntommy
So I Was Thinking
Outside Of
The Usual
Suggestion
s
#ReadingSEO
(Minimise JS,
Optimise Images,
Utilise Compression,
Minify CSS…)
@cptntommy
What
Else Can
We Do?
@cptntommy
How Can We Make
Sites Like This (And
Others) As Fast As
Possible?
@cptntommy
What If We Needed
Large JS Files, Or
Massive Images?
How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20
HTTP3
@cptntommy
To Fully Understand This,
@cptntommy
To 1990
And
HTTP/0.9
@cptntommy
A Single Request
Could Be Made At
Once, For A Single
Resource
@cptntommy
@cptntommy
Only HTML
No HTTP Headers
Could Be Used
@cptntommy
You’d Make A
Request.
@cptntommy
You’d Make A
Request.
Get A File.
@cptntommy
You’d Make A
Request.
Get A File.
Easy.
Fast (ish).
@cptntommy
Of Course, This
Was Limited By
Those Wonderful
56kb Modems
@cptntommy
@cptntommy
Nearly 16 Minutes.
@cptntommy
Hardware Plays An
Important Part In Speed
(We’ll Touch On This
Later)
Fast Forward To
1997
And
HTTP/1.0
@cptntommy
We Got:
Status Codes (Yay)
@cptntommy
Also:
HTTP Headers
@cptntommy
HTTP Headers
=
Different Content
Types
@cptntommy
Using The Content-
Type:
Header
@cptntommy
So If You Had A HTML
Document With A
Single Image
@cptntommy
You’d Have The Initial
Request For The HTML
@cptntommy
And Then A Second
Request For The Image
@cptntommy
So Still Fast(ish)
@cptntommy
Then We Got HTTP/1.1
@cptntommy
This Had All Sorts Of
New Stuff
@cptntommy
Reusable Connections
Pipelining
@cptntommy
When You Got A
Response From A
Server On 1.0
@cptntommy
The Connection Would
Close
@cptntommy
1.1 Allowed
Connections To Be Re-
Used
@cptntommy
And 1.1 Was Cool For
15~ish Years
@cptntommy
Then HTTP/2 Rocked
Up
@cptntommy
Many Sites Still Don’t
Use This
@cptntommy
If A Site Is Slow, And
They’re Still On
HTTP/1.1
@cptntommy
Check With Chrome
Dev Tools!
@cptntommy
@cptntommy
@cptntommy
@cptntommy
HTTP/2 Allows For
‘Multiplexing’
Allowing Multiple
Requests On The
Same Connection
@cptntommy
HTTP/1.1
@cptntommy
HTTP/1.1
HTTP/2
@cptntommy
This Enables Much
Faster Loading
Times
@cptntommy
@cptntommy
HTTP/2 Also Enabled
Server Push
@cptntommy
Single Request
@cptntommy
Single Request
Multiple Responses
@cptntommy
So Sites Can Be Much
Faster vs HTTP/1.1
@cptntommy
Now Along Comes
HTTP/3
September ‘19
@cptntommy
How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20
It’s Not Actually Fully
‘Out’ Yet
@cptntommy
@cptntommy
Support Is Rolling Out,
Exclusively To
Cloudflare Customers
@cptntommy
@cptntommy
1
2
3
4
5
6
7
8
@cptntommy
@cptntommy
1
2
3
4
5
@cptntommy
Just Cuts Out A Bunch
Of Time
@cptntommy
‘Speaking’ Via A
Different Protocol
@cptntommy
Minimising Requests
@cptntommy
How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20
@cptntommy
Every Single
Resource On A
Website
@cptntommy
Requires A Request
To A Server
@cptntommy
One Of The Simplest
Things You Can Do Is
Minimise The
Number Of Requests
That Are Made
@cptntommy
Less
Requests
=
Less Time
@cptntommy
How?
@cptntommy
@cptntommy
Combine CSS
@cptntommy
Combine CSS
Cut & Compress Everything
@cptntommy
Combine CSS
Cut & Compress Everything
Minimise Ads
@cptntommy
Combine CSS
Cut & Compress Everything
Minimise Ads
Async Load JS
@cptntommy
Optimising Request
Order
@cptntommy
Again, Utilise The Waterfall
View
@cptntommy
Work Out Exactly What
Resources Are The Most
Important
@cptntommy
1. The Raw HTML
@cptntommy
1. The Raw HTML
2.Important CSS
@cptntommy
1. The Raw HTML
2.Important CSS
3.The Header Content
@cptntommy
1. The Raw HTML
2.Important CSS
3.The Header Content
4.Any Important Images
@cptntommy
1. The Raw HTML
2.Important CSS
3.The Header Content
4.Any Important Images
5.The Other Stuff
@cptntommy
Lazy Loading
@cptntommy
This Should Be
Familiar To Most
Of Us
@cptntommy
We’ve All Been T
@cptntommy
@cptntommy
If You Have Content
That Renders Below
The Fold
@cptntommy
Say, For Example,
Products 20-40 On A
Page Of 40 Products
@cptntommy
Consider Lazy
Loading These
Products
@cptntommy
- Reduces Initial Page Size
@cptntommy
- Reduces Initial Page Size
- Improve Initial Page Load
Time
@cptntommy
- Reduces Initial Page Size
- Improve Initial Page Load
Time
- Faster
@cptntommy
- Reduces Initial Page Size
- Improve Initial Page Load
Time
- Faster
- More $$$
@cptntommy
The Hardware Side
@cptntommy
Ever Tried Running A
3D Rendering
Program On A Shit
Dell Laptop?
@cptntommy
It’s Like Running A
Site That You Want
To Be Fast, On A
Potato Of A Server
@cptntommy
Yes, You Can
Power A
Clock With A
Spud
@cptntommy #ReadingSEO@cptntommy
But Not A Blazing
Fast Site (Yet)
@cptntommy
Shared Hosting = NO
@cptntommy
Upgrade Your Host If
Needed
@cptntommy
Make Sure Server Is
Up To Date
@cptntommy
Get A CDN
@cptntommy
Configure Your
Cache(ing)
This Helps Optimise
That Ever Important
TTFB
@cptntommy
Improves Delivery &
Efficiency Of Delivery
Of Resources
@cptntommy
So
@cptntommy
To Wrap Up
@cptntommy
We Have Covered:
@cptntommy
We Have Covered:
Slow Sites
@cptntommy
We Have Covered:
Slow Sites
Basic Fixes
@cptntommy
We Have Covered:
Slow Sites
Basic Fixes
HTTP/3 & Friends
@cptntommy
We Have Covered:
Slow Sites
Basic Fixes
HTTP/3 & Friends
More Advanced Fixes
@cptntommy
Implementing All Of These
Will Help Ensure That Your
Site Is As Fast As It Can Be.
@cptntommy
Thanks!
@cptntommy

More Related Content

How To Make Any Site Blazing Fast!!! Tom Pool - London SEO Meetup Jan'20

Editor's Notes

  • #2: Introduction slide