, 7 tweets, 4 min read
My Authors
Read all threads
#TechSEOBoost @g33konaut /1

Rendering basics:
- DOM tree (🌲) "layouting" - when we care about the placement of HTML elements 🟥🟦🟩🟧
- DOM 🌲"painting" - adding in information within the HTML elements 🖌️🖼️🎨
- see process waterfall in DevTools > Network 🌊
#TechSEOBoost @g33konaut /2

Rendering basics (cont.):
- JavaScript is fundamentally used to change the DOM 🌲
- We might need to re-paint 🖌️
- Layout thrashing - be aware that this is a thing, requesting changes within the layout forcing client to resize
#TechSEOBoost @g33konaut /3

- the indexing system is a bunch of micro-services talking to each other 🤏
- indexing pipeline:
- duplicate elimination ✅❎
- crawler 🕷️
- link parser 🔗
- robots parser 🤖
- WRS 🔄
- content parser 🔪

+ service wrapper w/caching
#TechSEOBoost @g33konaut /4

- puppeteer, high level code to control a Chrome instance

steps:
1. get new instance of headless browser
2. go to page
- wait for network zero (also, set maximum timeout before killing)
3. get the HTML
4. when we have shadow DOM, more work required
#TechSEOBoost @g33konaut /5

- tools using WRS, though not using caching
- telling WRS shorter timeouts
- renderer:
- orchestration 🎼
- instrumentation 🎷
- metric collection - 4 internal debugging #⃣
+ pool manager 🎱 >> headless chrome
#TechSEOBoost @g33konaut /6

instrumentation 🎷: things r changed
- cookies are overwritten (b/c some sites require to use) 🍪
- cookies are not persistent 🗡️🍪
- date/time f(x) are adjusted 📅
- service workers are rejected ⛔️
- permission prompts are rejected ⛔️
#TechSEOBoost @g33konaut /7

🎷(cont.):
- random *might* be deterministic 🦖
- we are not painting pixel, animations = no go 🎞️⛔️

rendering stuffs:
- queue time (avg. 5 seconds) ⏲️
- render time 🔄
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Alexis Sanders

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!