Neven Đuranec, frontend developer @ web.burza
Web performance in one slide...
Smartphones dominate retail traffic, doubling in one year.
web.burza projects
25% of customers leave within 4 seconds, > 50% after 8 seconds if waiting
One second faster = 27% increase in conversions
Website response time
Components of an HTTP request
Latency
Wire latency
Wireless Radio latency
More Bandwidth Doesn’t Matter (Much)
Let's try a simple example...
HTML bytes are arriving on the wire...
The HTML5 parser at work...
DOM construction is complete... waiting on CSS!
First CSS bytes arrive... still waiting on CSS!
Finally, we can construct the CSSOM!
DOM + CSSOM = Render Tree(s)
DOM + CSSOM = Render Tree(s)
Layout & paint
JavaScript... our friend and foe.