Slide 1

Slide 1 text

The IKEA Flatpack Guide To Rendering Mark Stanford-Janes ROAST Speakerdeck.com/mstanford43

Slide 2

Slide 2 text

1 2 3 4 5 6 CONTENTS What is Rendering? Why is Rendering Important? How Does Google render stuff? The IKEA Flatpack Guide to Rendering Which is best for SEO? How to tell if it’s working? UK

Slide 3

Slide 3 text

1 What is Rendering? Rendering is how Google builds your site and “experiences it as a human”

Slide 4

Slide 4 text

1 What is Rendering? Every Webpage Has Two States – Rendering occurs between them The Initial HTML The Rendered HTML

Slide 5

Slide 5 text

1 What is Rendering? Every Webpage Has Two States The Initial HTML

Slide 6

Slide 6 text

1 What is Rendering? Every Webpage Has Two States The Rendered HTML

Slide 7

Slide 7 text

2 Why is Rendering Important? Three Phases: 1 Crawling Crawl Queue Crawler Processing Index Render Queue Render URL HTML Rendered HTML

Slide 8

Slide 8 text

2 Why is Rendering Important? Three Phases: 1 Crawling 2 Rendering Crawl Queue Crawler Processing Index Render Queue Render URL HTML Rendered HTML

Slide 9

Slide 9 text

2 Why is Rendering Important? Three Phases: 1 Crawling 2 Rendering 3 Indexing Crawl Queue Crawler Processing Index Render Queue Render URL HTML Rendered HTML

Slide 10

Slide 10 text

What is all the fuss about? Google can’t (technically) index what it can’t render so we need to make sure sites properly!

Slide 11

Slide 11 text

3 How does Google Render stuff? 1. A URL is pulled from the crawl queue 2. Googlebot requests the URL and downloads the initial HTML 3. The Initial HTML is passed to the processing stage (First wave of processing by Google’s indexing service) 4. The processing stage extracts links from the initial HTML 5. These links go back on the crawl queue 6. Once resources are crawled, the page queues for rendering 7. When resources become available, the request moves from the render queue to the renderer 8. The rendering service assembles the page using the crawled links 9. Renderer passes the rendered HTML back to processing 10. Second wave of processing for Google’s index 11. Extracts links from the rendered HTML to put them into the crawl queue 12. Go to the next URL in the crawl queue and repeat the process. 13. Only 130 trillion pages more and you’ll be a proper bot

Slide 12

Slide 12 text

How does Google Render stuff? 1 First wave indexation 2 Second wave of processing for Google’s index 3 Fully indexed!

Slide 13

Slide 13 text

The IKEA Flatpack guide to Rendering

Slide 14

Slide 14 text

1 IKEA – Server 2 Raw materials – html 3 Screws,nails, etc – JS, CSS 4 Your home – Browser 5 Bookcase– Finished page 4 The IKEA Flatpack Guide to Rendering The Basics

Slide 15

Slide 15 text

4.1 Client-Side Rendering (CSR) You order the bookcase from IKEA The full flatpack is sent to your house You have to put it together yourself at home You can use the Bookcase

Slide 16

Slide 16 text

4.2 Server-side Rendering (SSR) IKEA builds the Bookcase for you You order the bookcase from IKEA The Bookcase is sent to your house You can use the Bookcase

Slide 17

Slide 17 text

4.3 Dynamic Rendering (DR) Users get Search engines get OR

Slide 18

Slide 18 text

4.3 Dynamic Rendering (DR) Users get Search engines get OR

Slide 19

Slide 19 text

4.4 Static Rendering (SR) IKEA builds the bookcase and stores it You order the bookcase from IKEA The Bookcase is sent to your house really quickly You can use the Bookcase but it has some wear and tear

Slide 20

Slide 20 text

4.5 Incremental Static Regeneration (ISR) IKEA builds the bookcase and stores it You order the bookcase from IKEA The Bookcase is sent to your house really quickly You can use the Bookcase and any worn parts are replaced

Slide 21

Slide 21 text

4.6 Prerendering (PR) You order the bookcase from IKEA They send only the wood (HTML) You can look at the pile of wood but not do anything with it… IKEA sends the screws and instructions and you build it

Slide 22

Slide 22 text

4.7 Progressive Rehydration (PRH) You can use the top part of the bookcase After a while you can use the rest of the bookshelf Server-side Rendering

Slide 23

Slide 23 text

4.8 Islands Rendering (IR) The entire catalogue is broken into separate parts You order the bookcase from IKEA They send only the exact parts for the bookshelf You have to put it together yourself at home You can use the Bookcase

Slide 24

Slide 24 text

So which is best?

Slide 25

Slide 25 text

5 It Depends… Cheap/Simple Expensive/Difficult SEO Friendly Bad for SEO CSR SSR DR SR PRH IR ISR PR

Slide 26

Slide 26 text

5.1 Best Rendering Methods for Small Static Sites… Cheap/Simple Expensive/Difficult SEO Friendly Bad for SEO CSR SSR DR SR PRH IR ISR PR

Slide 27

Slide 27 text

5.2 Best Rendering Methods for Larger sites Cheap/Simple Expensive/Difficult SEO Friendly Bad for SEO CSR SSR DR SR PRH IR ISR PR

Slide 28

Slide 28 text

5.3 Best Rendering Methods for a New Site Cheap/Simple Expensive/Difficult SEO Friendly Bad for SEO CSR SSR DR SR PRH IR ISR PR

Slide 29

Slide 29 text

5.4 Best Rendering Methods for a Blog or News Site Cheap/Simple Expensive/Difficult SEO Friendly Bad for SEO CSR SSR DR SR PRH IR ISR PR

Slide 30

Slide 30 text

6 How Can I Test my Site’s Rendering?

Slide 31

Slide 31 text

6 Check Search Console

Slide 32

Slide 32 text

6 The Rich Results Test

Slide 33

Slide 33 text

6 Screaming Frog It!

Slide 34

Slide 34 text

6 Turn off JS in Chrome With JS Without JS

Slide 35

Slide 35 text

THANK YOU