4. https://wpostats.com/
Case studies and experiments demonstrating the impact of web
performance optimization (WPO) on user experience and business metrics.
16. Send request
Keep in mind requests priority on client basing on
resource type(css, js, png..) and it attribute
Use deffer/async to load unnecesary scripts asynchronously
and not to block page rendering
link for
this_example
21. Receive response/content
Tips for backend load testing
scenarios:
- Download static resouces(if
not using CDN)
- Do not record them
- Use caching controllers
Reduce content download
time:
- minification(css/js)
- use compression
- reduce quality/optimize
images(https://tinypng.com/)
22. Process content on client
Send request GET
/index.html
Receive first byte of
html
Starts parsing HTML
(aim to find all
necessary resources
to display page)
find static content
and send requests for
it (css, js, img, fonts..)
Update layer
tree
Composite
layers
Critical rendering path
23.
24.
25.
26. Google page speed insights
Webpagetest
Sitespeed.io
Performance tab in Chrome
dev tools
Tools
27. Page speed insights
Gives suggestions:
- optimize images
- remove render blocking css
- laverage browser caching
- compression
- minify css/js
Performance tab in dev tools
- Network
- Detailed CRP events
- events type distribution
- JS functions execution time
- view layers
- frames per second
- paint frashing layout borders
Webpagetest
- features from page speed
insights
- view network waterfall
- run tests from different
locations
- execute scripts
Sitespeed.io
- features from page speed
insights
- pretty report with a lot of
performance metrics
- execute selenium scripts