Critical rendering path - Crash course on web performance (Fluent 2013)

  Рет қаралды 53,726

Ilya Grigorik

Ilya Grigorik

Күн бұрын

Пікірлер: 29
@domaincontroller
@domaincontroller 4 жыл бұрын
00:37 what's so critical about the CRP, a very simple example 01:21 first part 02:01 done incrementally, HTML5 parser 03:03 waiting on CSS 04:12 CSS, in 2 packets, we got the first line 05:09 finally we got the last line 05:26 next, we actually take this two trees, render trees 06:28 in fact there is no one render tree 07:05 so the idea of the CPR is exactly this 07:32 what is layout and paint 08:00 the second strategy is actually much better 08:32 a fun example, google search page, we immediately send you the header response ======================================== JavaScript ======================================== 10:02 javascript, it actually makes the things more more complicated 10:32 JavaScript can query the DOM and can also query the CSS object model 10:49 here is an example 11:20 , an arbitrary piece of something 11:40 literally it block the DOM construction and everything else 11:55 we have to fetch the JavaScript and we have to execute it before we can proceed, JavaScript at the bottom, CSS at the top 12:45 synchronous block the parse, asynchronous scripts, example, google + 13:43 the async keyword is basically a promesse, its a handshake 15:04 here is an example, JavaScript can block both the DOM and CSS 16:22 put in together, so that will helps us to speed up the initial rendering of the page 16:46 let's say we want to break the one second mobile barrier 19:18 here is an example, we have to start inlining things 20:32 a lot of JavaScript enhancing experience, jQuery 21:52 DevTools
@alexandrkalabin7645
@alexandrkalabin7645 2 жыл бұрын
08:20 sending HTTP-headers immediately after receiving a request, before analyzing a query 09:09 deliver CSS that only needed for rendering the particular page as soon as possible, deliver later CSS for the rest part of the site. 34:00 aggregate scroll events and defer them. 35:00 split a long running function, execute it partly, then yield control to the browser for updating the screen, and finish the rest part of the function
@nope-zdvcz99
@nope-zdvcz99 5 ай бұрын
one of the best video about CRP
@waterislife9
@waterislife9 4 жыл бұрын
Incredible presentation. This deserves more views.
@mgusa9372
@mgusa9372 2 жыл бұрын
Boy am I glad I ran across Ilya Grigorik he lays out everything so beautifully pure gold.
@behruzisaev2102
@behruzisaev2102 5 жыл бұрын
One of the best presentation on CRP!!!
@ArtemMindsurfer
@ArtemMindsurfer 10 ай бұрын
at 28:12 when you said “they viewed less stories” talking about facebooks experiment on showing 30 fps instead of 60, i was surprised a lot! we’re there stories in 2014??? i thought they first appeared in 2018 in instagram!
@grbak
@grbak 9 ай бұрын
Such a gem! But could anybody clarify one thing for me: don't browsers wait for loading all the external styles to construct CSSOM? According to the presentation it seems like dividing styles into multiple stylesheets is good for performance, but I'm not sure if I understood this part correctly...
@Ghummakad_bhaya
@Ghummakad_bhaya 3 жыл бұрын
Best explanation till today 🥂 Thanks
@kannada_ve_USIRU
@kannada_ve_USIRU 4 жыл бұрын
Best video on CRP
@justindglee
@justindglee 4 жыл бұрын
agree
@shellbot972
@shellbot972 2 жыл бұрын
this is the best 😄, Thanks Ilya!
@valikonen
@valikonen 4 жыл бұрын
Very interesting your PDF but Chrome developer tools are changed so fast... this is a big problem for everybody and I don't understand why they have this approach.
@Ghummakad_bhaya
@Ghummakad_bhaya 3 жыл бұрын
Can you please share this ppt with us ? would we very helpful
@softwareengineering101
@softwareengineering101 9 ай бұрын
Excellent talk
@saisagarsharma
@saisagarsharma 3 жыл бұрын
Is this content still applicable to this date?
@pranayboreddy
@pranayboreddy 2 жыл бұрын
Best video ever ❤️
@yonjah
@yonjah 11 жыл бұрын
where can I find the last part of this talk ?
@mrsasquatch7337
@mrsasquatch7337 4 жыл бұрын
For any future viewers, it's the video directly after on the uploaders page. kzbin.info/www/bejne/qKGxiYqugt6tfrM
@RickBeacham
@RickBeacham 9 жыл бұрын
LLya , is linode better then google compute?
@MarquesWoodson
@MarquesWoodson 11 жыл бұрын
How do you stream the HTML to the browser?
@louddude
@louddude 3 жыл бұрын
e.g. node js streams
@satya4866
@satya4866 3 жыл бұрын
Good one
@NikitaBayev
@NikitaBayev 11 жыл бұрын
Can you create iTunes podcast, please?
@wangzhang723
@wangzhang723 6 жыл бұрын
thank you very much!!!
@arseniy_viktorovich
@arseniy_viktorovich 2 ай бұрын
Why in the end of 2024 we still need to worry about this bs and our devices can't just render everything in a blink now? Isn't it weird? I mean, the increase in raw chip and network performance is enormous, yet we still need to optimize layout and js. Is it the future we all waited for?
@RickBeacham
@RickBeacham 9 жыл бұрын
I'm still wondering why they can't take advantage of P2P networks to solve latency issues on cell phone networks. Especially in areas where even 3g is not available like Bolivia and Cameroon.JUst cache popular websites and save on a P2P network. Then connect to the P2P network using WIFI. THis is one way for Satellites services on sailboats to solve this problem....Just cache the web. I"m liking ANdroid's new API for WIFI networks and HTML 2.0 --> UDP.
@theblackboxprogramming2969
@theblackboxprogramming2969 4 жыл бұрын
So basically the render tree phase is where browser developers stopped refactoring their code and said look web developers this part is a very large code and it works and honestly we don't how it works so let say its a magical box okay......lets move on XD.....Great Talk
@theblackboxprogramming2969
@theblackboxprogramming2969 4 жыл бұрын
Another note from this video is: framework people, what the hell are you doing?
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Процесс загрузки web страницы
25:19
loftblog
Рет қаралды 47 М.
Understanding React's UI Rendering Process
29:07
CrossComm, Inc.
Рет қаралды 220 М.
Oh really, why is that? Web performance for the curious!
33:53
Ilya Grigorik
Рет қаралды 16 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 205 М.
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 731 М.
Просто о CRP (Critical Rendering Path)
15:07
webDev
Рет қаралды 4,3 М.
Айфон сдался: когда сделают складной телефон
0:11
Короче, новости
Рет қаралды 187 М.
Самый лучший телефон
0:58
Hi Store Media
Рет қаралды 413 М.
Презентация iPhone 17 
0:28
anasrassia
Рет қаралды 3,3 МЛН
Gizli Apple Watch Kamerası😱
0:14
Safak Novruz
Рет қаралды 1,2 МЛН
🤡Главная ПРОБЛЕМА Айфона🍏
0:39
Demin's Lounge
Рет қаралды 639 М.
building my new couch gaming OLED TV setup from scratch! 🔨🎮
0:51
Midas / Tomi
Рет қаралды 1,1 МЛН