Тёмный

How to Optimize Network Performance for Web Apps? | Frontend Interview | Chakde System Design Ep.4 

Chirag Goel
Подписаться 25 тыс.
Просмотров 32 тыс.
50% 1

This episode is part of Performance optimization techniques for web apps, which is covered in multiple episodes of Chakde System Design.
0:00 Introduction
0:30 Overview of Network Optimization Techniques
2:56 Load Javascript Asynchronously
8:50 Lazy attribute [Lazy loading]
12:58 Intersection Observer [Lazy loading]
17:44 Content Visibility [Lazy loading]
20:19 Serving Critical CSS [Lazy loading]
22:57 Resource Hinting
32:20 Service Worker
42:24 CSR, SSR, Prerendering, Static SSR
50:46 Compression
53:57 Layout Shifts & repaints
🔴 How to Optimize Network Performance for Web Apps? • How to Optimize Networ...
🔴 How to Optimize Assets Performance for Web Apps • How to Optimize Assets...
🔴 You Still Need To Learn Javascript! Performance Optimization | Memory Leaks • You Don't Know Javascr...
In case you have missed other episodes of the #ChakdeSystemDesign series, do check out :
• Frontend System Design...
⭐️ Courses: learnwithchirag.engineerchira...
Connect to learn & grow together in our career❤️:
✅ Linkedin: / engineerc. .
✅ Twitter: / engineerchirag
✅ Instagram: / engineerchirag
#Performance #Optimization #PerformanceOptimization #WebApps #NetworkOptimization #SystemDesign #FrontendSystemDesign #frontend #interview #frontendInterview #interviewQuestions

Опубликовано:

 

20 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 122   
@bookishbureaucrat
@bookishbureaucrat 2 года назад
I was looking for these things, but it was always in small chunks in different places. Good to have all of it in one video. Thanks for the effort Chirag!
@engineerchirag
@engineerchirag 2 года назад
Glad I could help @ashim. Keep watching and sharing #chakdeSystemDesign
@soumakmaji2766
@soumakmaji2766 2 года назад
Thanks, Chirag excellent explanation looking forward to more great content in the upcoming days.
@VijayKumar-vv6yw
@VijayKumar-vv6yw 2 года назад
Awesome content Chirag ! Love the breadth and the depth ! Explained succinctly ! ! Keep them coming
@engineerchirag
@engineerchirag 2 года назад
Thank you! Will do! More in pipeline. Keep watching #chakdeSystemDesign
@aburayhanprince8164
@aburayhanprince8164 2 года назад
I can't thank you enough. I just started my career as Front End Engineer.
@engineerchirag
@engineerchirag 2 года назад
Great @abu. Welcome to Frontend community. Long way to go!. Keep watching @chakdeSystemDesign
@RajnishKumarlive
@RajnishKumarlive Год назад
This whole series is on another level. I cannot thank you enough! 🙌
@engineerchirag
@engineerchirag Год назад
Glad you enjoy it! Do share it and help me to make it big ❤️🙏
@RajnishKumarlive
@RajnishKumarlive Год назад
@@engineerchirag 100%. I ask everyone I know to look at this series.
@shobhitgarg6897
@shobhitgarg6897 Год назад
The way you teach these concepts is just awesome...Thanks for creating such a great content.
@engineerchirag
@engineerchirag Год назад
It's my pleasure. Keep watching #chakdeSystemDesign
@user-lw2mk2yz8b
@user-lw2mk2yz8b 5 месяцев назад
Liked last part "render cycle" you covered. Basically omitting layout setup. I was not aware of this. Thanks :)
@engineerchirag
@engineerchirag 4 месяца назад
Glad it was helpful!
@priyasivakumar3607
@priyasivakumar3607 2 года назад
you nailed it. Got to learn a lot of new things in this 1 hr video. Thanks Chirag
@engineerchirag
@engineerchirag 2 года назад
Thanks Priya. Keep watching #chakdeSystemDesign and do share it in your network 🙂
@miteshkumar3757
@miteshkumar3757 2 года назад
Bro after watching this video , became fan of you . Please make more and more videos , your videos and content is of highest quality .
@engineerchirag
@engineerchirag 2 года назад
Thank you so much 😀I never thought folks will become my fan 😂. I'm glad 🙏
@nikhil6842
@nikhil6842 Год назад
your channel is pure gem. Thanks for creating such great and easy to understand content
@engineerchirag
@engineerchirag Год назад
Glad you think so! Keep watching and sharing #chakdeSystemDesign
@marhawk6468
@marhawk6468 Год назад
As someone who has frontend experience but looking to improve my skills….this is great. TY!
@engineerchirag
@engineerchirag Год назад
Glad it was helpful! ❤️🙏
@shivaliraghav8524
@shivaliraghav8524 Год назад
This series is great!! Must watch for all frontend devs
@engineerchirag
@engineerchirag Год назад
Awesome ❤️ Help me to spread the series 🙏
@tushar54983
@tushar54983 Год назад
This is years of knowledge I got to know by crawling so many resources all explained in 1 video. I would love an in depth video series on each of these modern web performance topics in future. Thank you for this
@engineerchirag
@engineerchirag Год назад
Will do! 👍 Keep watching, keep growing 🚀
@tushar54983
@tushar54983 Год назад
1 thing I noticed, you said while prefetching, resource is not going to execute. But, execution won't happen for neither preload nor prefetch. The difference b/w them is that preload is a directive/command to browser while prefetch is merely a suggestion
@kevinmaria2456
@kevinmaria2456 2 года назад
This video is super helpful. Great, thanks dude 🙏🙏👏👏. Do more videos to the community 👍
@engineerchirag
@engineerchirag 2 года назад
More to come! Thanks Kevin. Keep watching #chakdeSystemDesign and do share it in your network 🙂
@deepaknegi4385
@deepaknegi4385 2 года назад
Chirag bhai keep it up!! Kudos to you for bringing up this topic and you explained it really well.
@engineerchirag
@engineerchirag 2 года назад
Thanks Deepak. I'm glad you liked it. Keep watching. Pls do share it in your network ☺️
@deepamohan5177
@deepamohan5177 Год назад
It is always better to use async and defer for loading the script file which will significantly reduce the DOM Load time than even adding the script tag below the body. Thanks Chirag for the awesome content.
@engineerchirag
@engineerchirag Год назад
Thanks for watching 👍
@gururajchadaga
@gururajchadaga 7 месяцев назад
Hi Chirag, dns-prefetch is not a fallback for pre-connect. dns-prefetch just does the DNS lookup in advance, and it does not establish a connection with the crossorigin. and rel="prerender" has been deprecated.
@pratyushkaran
@pratyushkaran Месяц назад
If you put the script tag at the bottom of the body tag, it will first parse the HTML completely and then fetch the JavaScript file and execute it and then the DOMContentLoaded event will fire. In the normal vs async vs differ, you forgot to mention one point that in async, scripts are not guaranteed to execute in order whereas in defer they are guaranteed to execute in order
@YuHsinShih
@YuHsinShih Год назад
Very useful information to catch up with the latest technology. Thank you for sharing!
@engineerchirag
@engineerchirag Год назад
Glad it was helpful! 🙏
@pranshuchittora5444
@pranshuchittora5444 2 года назад
A real gold in the sea of noise. Keep making such awesome videos.
@engineerchirag
@engineerchirag 2 года назад
Thanks Pranshu, I'm glad you think so. I will need support to make it reachable to more audidence. Thanks in advance!
@naruto5437
@naruto5437 Год назад
what an awesome channel...finally advance frontend stuff
@engineerchirag
@engineerchirag Год назад
Thanks 🙏
@mdnawazishalam5222
@mdnawazishalam5222 2 года назад
Can thank you enough for the great video
@engineerchirag
@engineerchirag 2 года назад
My pleasure! @nawazish
@lksjfadlk
@lksjfadlk 2 года назад
This is great!!
@forceboxed
@forceboxed Год назад
Good collection of optimizations. I learned many new things.
@engineerchirag
@engineerchirag Год назад
Glad it was helpful, Abhishek!
@abhishekdhillon7110
@abhishekdhillon7110 9 месяцев назад
I feel that you unnecessarily use analogies sometimes and things would be a lot clearer if you just explain things to the point. In the layout shifts and repaints, you spoke so much about building construction that you missed out on few of the important concepts that would have easily been mentioned if you had spoken to the point.
@siddharthjoshi3328
@siddharthjoshi3328 Месяц назад
Agreed to your point but Those unnecessary analogies are important to know for the interviews otherwise they don't take you for a knowledgeable candidate and can you please mention the points that he missed according to you. It'll be helpful.
@ajayprakash1167
@ajayprakash1167 4 месяца назад
Need more content like this which are not available in the you tube. Many jobless people and waste people are publishing wrong content video. Ur video are awesome. Try to make production level application for entire frontend backend and db
@engineerchirag
@engineerchirag 4 месяца назад
More video to come. Need lot of your support to make this video reach more curious developer like you. Thanks in advance!
@kapilthukral618
@kapilthukral618 Год назад
Great Content! respect the efforts you have put in.
@engineerchirag
@engineerchirag Год назад
Glad you enjoy it!
@bhaveshgupta7736
@bhaveshgupta7736 2 года назад
again thanks for this, even I have applied concept of lazy loading, resource hinting in my project...
@engineerchirag
@engineerchirag 2 года назад
Glad to help!
@madhurya141292
@madhurya141292 8 месяцев назад
Phenomenal stuff!
@engineerchirag
@engineerchirag 7 месяцев назад
Thanks a ton 😊
@gauthamvijayan
@gauthamvijayan 8 месяцев назад
Top notch content. Absolute Gem😇
@engineerchirag
@engineerchirag 8 месяцев назад
Thanks a ton ❤️
@Bakwasteacher
@Bakwasteacher 2 года назад
I didn’t got single concept .. but seeing my “bachpan ka yrr” on screen feels good … god bless u .. keep growing 😎
@aryanrahman3212
@aryanrahman3212 9 месяцев назад
Your knowledge is exceptional sir thank you for sharing
@engineerchirag
@engineerchirag 8 месяцев назад
So nice of you ❤️🙏
@yadwindersingh9722
@yadwindersingh9722 Год назад
Very informative series, Please make more such type of contents 🥳
@engineerchirag
@engineerchirag Год назад
Thank you! Will do!
@prakashnaikwadi
@prakashnaikwadi Год назад
Thank you for the videos, please make more 😊
@engineerchirag
@engineerchirag Год назад
More to come! Keep watching 😍
@yashpreetbathla4653
@yashpreetbathla4653 2 года назад
Awesome content bhaiya , really appreciate your efforts ! Keep making such knowledgable content.
@engineerchirag
@engineerchirag 2 года назад
Yeah, keep watching #chakdeSystemDesign. Pls help me to spread #chakdeSystemDesign series to more folks 🙂🙏
@yashpreetbathla4653
@yashpreetbathla4653 2 года назад
@@engineerchirag for sureeee
@aurangzebhusain8366
@aurangzebhusain8366 Год назад
One day this series is going to cross million views ❤. Its very obvious from the content quality. This is pure gold❤‍🔥. Looking forward to complete the whole playlist.
@engineerchirag
@engineerchirag Год назад
Thank you so much 😀 Need your support to make it happen 🙏
@amitankur11
@amitankur11 Год назад
Awesome work Chirag, you are really a GEM :) 😃
@engineerchirag
@engineerchirag Год назад
Thank you so much 😀
@RohitYadav-bo9mm
@RohitYadav-bo9mm 25 дней назад
Hey Chirag, this helps a lot but It would have been a lot better if you could have given examples and implemented that in React projects. This way, we would also know its implementation in our projects.
@makkarpuneet
@makkarpuneet 2 года назад
thanks Chirag. lot of learnings from the video.
@engineerchirag
@engineerchirag 2 года назад
Great to know that @puneet. Keep watching and spreading love for #chakdeSystemDesign 🙂
@pranjalagnihotri6072
@pranjalagnihotri6072 Год назад
Netflix is not pure "SSR" and it also uses "CSR" in a way, as when the static page (pre-rendered on the server) is painted on the browser, the user can go and play the content which is dynamic and JS takes care to fetch and load it in the media frame
@forceboxed
@forceboxed Год назад
@22:07 onload is called when the stylesheet has been loaded, NOT on document load as you said.
@swapnilrenge335
@swapnilrenge335 Год назад
I always wanted to try out these things but never understood these concepts due to the technical jargon used in the docs and articles, Thanks a lot for coming up with this brilliant series and taking efforts to explain the concepts in so simple ways. Also I don't know if someone has observed this but I think caching using CDN is skipped. Correct me If I am wrong.
@engineerchirag
@engineerchirag Год назад
Glad I could help! I will be covering CDN as part of build time optimization.
@scalpertrader61
@scalpertrader61 2 года назад
Quality Content
@engineerchirag
@engineerchirag 2 года назад
Thanks Scalper. Keep watching #chakdeSystemDesign and do share it in your network 🙂
@SachinDolta
@SachinDolta Год назад
this is GOLDEN stuff
@engineerchirag
@engineerchirag Год назад
I'm glad Sachin, you think so 😍
@harshsinha7642
@harshsinha7642 2 года назад
Very well explained!! . thank you so much for the insight details about performance optimization. I am currently working on react application, could you please make video on how we make optimize react application?
@engineerchirag
@engineerchirag 2 года назад
Thanks Harsh, will plan framework specific optimization soon
@harshsinha7642
@harshsinha7642 2 года назад
@@engineerchirag Thank you !!
@MrAbhay0007
@MrAbhay0007 2 года назад
Great Video! One correction - "preload" attribute only downloads the assets and doesn't execute it immediately.
@engineerchirag
@engineerchirag 2 года назад
Thanks for highlighting it, Abhay. It loads and just caches it. I have rectified the video.
@pramithasdhakal5367
@pramithasdhakal5367 27 дней назад
The preload does not execute the script actually. According to the documentation, even though the name contains the term load, it doesn't load and execute the script but only schedules it to be downloaded and cached with a higher priority. Prefetch is used for improving the load time of subsequent pages while preload works best on critical resources for the current page
@viditgoel2909
@viditgoel2909 6 месяцев назад
Thanks a lot sir for this awesome series, but I wonder if it is completed? Also as you've mentioned in earlier comments that you will be making optimisation techniques specific to react, any update on those?
@engineerchirag
@engineerchirag 6 месяцев назад
Thanks for the feedback 🙂. Wait for a big announcement 😀
@viditgoel2909
@viditgoel2909 6 месяцев назад
@@engineerchirag @akshaymarch7 (Akshay saini)revealed the big surprise and that's one of the best things you both could've done for us, super excited to join the course. Thanks a lot both to both of you in advance. ❤️❤️
@namanjiandani4593
@namanjiandani4593 Год назад
Thanks!
@engineerchirag
@engineerchirag Год назад
This means a lot to me ❤️🙏
@js__talks
@js__talks 2 года назад
I really like your videos on system design. why the way which tool you are using here for writing and drawing.
@engineerchirag
@engineerchirag 2 года назад
Thanks JS fever.
@venkateshpachigulla
@venkateshpachigulla 2 года назад
@chirag please add timestamps so that it will helpful to refer again as video length is more.
@engineerchirag
@engineerchirag 2 года назад
Thanks for suggestion. Added the timestamps. Keep watching #chakdeSystemDesign
@4444-c4s
@4444-c4s 3 месяца назад
just reading what's in the flow charts...will be better if each topic has a separate video with real demonstration with code. BTW good video compared to other creators
@engineerchirag
@engineerchirag 2 месяца назад
Thanks. Feedback noted!
@4444-c4s
@4444-c4s 2 месяца назад
@@engineerchirag You keep constantly improving ❤️❤️❤️ I like this about you 😍
@kanishkbadola
@kanishkbadola 12 дней назад
Really liked the topics you covered but the explanation could have been better. Most of the time I was confused with the explanation and have to watch another video to understand the concept, but thanks for listing those topics here.
@engineerchirag
@engineerchirag 21 час назад
Thanks for feedback
@coolme7437
@coolme7437 7 месяцев назад
What's the difference b/w if we add 'defer' in the and if we write the at the bottom?
@engineerchirag
@engineerchirag 6 месяцев назад
Both using the defer attribute and placing the tag at the bottom of the HTML document can achieve deferred script execution, allowing for faster page rendering.
@Ashish-_-
@Ashish-_- 4 месяца назад
I believe adding defer will help in the script downloading in parallel due to the prescanner
@vasudevrao1434
@vasudevrao1434 2 года назад
Is it possible to get that ppt slides ? Would be really helpful to brush up them before interview ?
@engineerchirag
@engineerchirag 2 года назад
Vasudev, I would suggest to create your known notes in your wording. This will help to remember it. :)
@pratyushkumar7999
@pratyushkumar7999 Год назад
can you please make videos of implementing these technique in details with examples😅
@engineerchirag
@engineerchirag Год назад
It's in pipeline, keep watching #chakdeSystemDesign 🚀
@4444-c4s
@4444-c4s 3 месяца назад
How this is relevant in Modern JS Frameworks like React, Angular?
@engineerchirag
@engineerchirag 2 месяца назад
Fundamentals remains the same.
@ganeshshetty8441
@ganeshshetty8441 Год назад
Hi Guys , Lets make this channel very famous
@engineerchirag
@engineerchirag Год назад
Thanks a ton Ganesh. Need more support for the channel. Thanks in advance 🙏🙂💖
@codedusting
@codedusting 2 года назад
NextJS optimization? Because these techniques cannot always be used in such indepth control!
@engineerchirag
@engineerchirag 2 года назад
I haven't covered any framework level optimization. But will be covering them soon. Knowing fundamentals is important. Some time these are supported out of box by framework, else we can implement them.
@susmitamitra3955
@susmitamitra3955 2 года назад
ye ho chuka hai kya real life me party me jate huye bike saaf karna?!
@engineerchirag
@engineerchirag 2 года назад
I think, it's story of most of the boys 😜
@RajYadav-yh7vv
@RajYadav-yh7vv 7 месяцев назад
not useful video, no specific practical information #time wasting
@engineerchirag
@engineerchirag 7 месяцев назад
Thanks for the view
@shagunpreetsingh7105
@shagunpreetsingh7105 Месяц назад
Hey God, Bless this channel with lakhs of subscribers
@engineerchirag
@engineerchirag Месяц назад
Thanks a ton ❤️❤️❤️❤️❤️❤️❤️❤️
Далее
Frontend System Design Mock Interview 2024
21:28
Просмотров 4,1 тыс.
The Trump rally shooting from a photographer's POV
00:58
Brutally honest advice for new .NET Web Developers
7:19
The Trump rally shooting from a photographer's POV
00:58