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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 125

  • @newsnoodlehumour
    @newsnoodlehumour 2 ปีที่แล้ว +13

    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 ปีที่แล้ว +2

      Glad I could help @ashim. Keep watching and sharing #chakdeSystemDesign

  • @aburayhanprince8164
    @aburayhanprince8164 2 ปีที่แล้ว +3

    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

  • @gururajchadaga
    @gururajchadaga 11 หลายเดือนก่อน +6

    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.

  • @RajnishKumarlive
    @RajnishKumarlive ปีที่แล้ว +3

    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 ปีที่แล้ว +1

      @@engineerchirag 100%. I ask everyone I know to look at this series.

  • @marhawk6468
    @marhawk6468 ปีที่แล้ว

    As someone who has frontend experience but looking to improve my skills….this is great. TY!

  • @ajayprakash1167
    @ajayprakash1167 8 หลายเดือนก่อน +1

    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  8 หลายเดือนก่อน

      More video to come. Need lot of your support to make this video reach more curious developer like you. Thanks in advance!

  • @deepamohan5177
    @deepamohan5177 ปีที่แล้ว +2

    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.

  • @miteshkumar3757
    @miteshkumar3757 2 ปีที่แล้ว +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 🙏

  • @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

      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

  • @TravellingEngineer-x2h
    @TravellingEngineer-x2h 9 หลายเดือนก่อน

    Liked last part "render cycle" you covered. Basically omitting layout setup. I was not aware of this. Thanks :)

    • @engineerchirag
      @engineerchirag  9 หลายเดือนก่อน

      Glad it was helpful!

  • @soumakmaji2766
    @soumakmaji2766 2 ปีที่แล้ว +2

    Thanks, Chirag excellent explanation looking forward to more great content in the upcoming days.

  • @shobhitgarg6897
    @shobhitgarg6897 2 ปีที่แล้ว

    The way you teach these concepts is just awesome...Thanks for creating such a great content.

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว

      It's my pleasure. Keep watching #chakdeSystemDesign

  • @aryanrahman3212
    @aryanrahman3212 ปีที่แล้ว

    Your knowledge is exceptional sir thank you for sharing

  • @VijayKumar-vv6yw
    @VijayKumar-vv6yw 2 ปีที่แล้ว +1

    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

  • @shivaliraghav8524
    @shivaliraghav8524 ปีที่แล้ว

    This series is great!! Must watch for all frontend devs

    • @engineerchirag
      @engineerchirag  ปีที่แล้ว

      Awesome ❤️ Help me to spread the series 🙏

  • @priyasivakumar3607
    @priyasivakumar3607 2 ปีที่แล้ว +1

    you nailed it. Got to learn a lot of new things in this 1 hr video. Thanks Chirag

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว +1

      Thanks Priya. Keep watching #chakdeSystemDesign and do share it in your network 🙂

  • @sameeravhad6266
    @sameeravhad6266 3 หลายเดือนก่อน

    Thank you so much . Learning new things.

  • @VivekBaruah-u4u
    @VivekBaruah-u4u หลายเดือนก่อน +1

    Suggest to also put relevant links in description to deep dive, as these are not detailed videos

  • @forceboxed
    @forceboxed 2 ปีที่แล้ว +1

    Good collection of optimizations. I learned many new things.

  • @YuHsinShih
    @YuHsinShih ปีที่แล้ว

    Very useful information to catch up with the latest technology. Thank you for sharing!

  • @omprakashsharma9767
    @omprakashsharma9767 หลายเดือนก่อน

    very good informative thanks

  • @naruto5437
    @naruto5437 ปีที่แล้ว

    what an awesome channel...finally advance frontend stuff

  • @Bakwasteacher
    @Bakwasteacher 2 ปีที่แล้ว +1

    I didn’t got single concept .. but seeing my “bachpan ka yrr” on screen feels good … god bless u .. keep growing 😎

  • @mdnawazishalam5222
    @mdnawazishalam5222 2 ปีที่แล้ว +2

    Can thank you enough for the great video

  • @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!

  • @nikhil6842
    @nikhil6842 2 ปีที่แล้ว

    your channel is pure gem. Thanks for creating such great and easy to understand content

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว

      Glad you think so! Keep watching and sharing #chakdeSystemDesign

  • @bhaveshgupta7736
    @bhaveshgupta7736 2 ปีที่แล้ว

    again thanks for this, even I have applied concept of lazy loading, resource hinting in my project...

  • @deepaknegi4385
    @deepaknegi4385 2 ปีที่แล้ว +1

    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 ☺️

  • @aurangzebhusain8366
    @aurangzebhusain8366 ปีที่แล้ว +3

    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 🙏

  • @pratyushkaran
    @pratyushkaran 5 หลายเดือนก่อน

    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

  • @kevinmaria2456
    @kevinmaria2456 2 ปีที่แล้ว +1

    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 🙂

  • @gauthamvijayan
    @gauthamvijayan ปีที่แล้ว

    Top notch content. Absolute Gem😇

  • @pranjalagnihotri6072
    @pranjalagnihotri6072 2 ปีที่แล้ว

    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

  • @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 🙂

  • @madhurya141292
    @madhurya141292 ปีที่แล้ว

    Phenomenal stuff!

  • @MrAbhay0007
    @MrAbhay0007 2 ปีที่แล้ว +2

    Great Video! One correction - "preload" attribute only downloads the assets and doesn't execute it immediately.

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว +2

      Thanks for highlighting it, Abhay. It loads and just caches it. I have rectified the video.

  • @yadwindersingh9722
    @yadwindersingh9722 ปีที่แล้ว

    Very informative series, Please make more such type of contents 🥳

  • @prakashnaikwadi
    @prakashnaikwadi ปีที่แล้ว

    Thank you for the videos, please make more 😊

    • @engineerchirag
      @engineerchirag  ปีที่แล้ว +1

      More to come! Keep watching 😍

  • @SachinDolta
    @SachinDolta 2 ปีที่แล้ว

    this is GOLDEN stuff

    • @engineerchirag
      @engineerchirag  ปีที่แล้ว +1

      I'm glad Sachin, you think so 😍

  • @kapilthukral618
    @kapilthukral618 2 ปีที่แล้ว

    Great Content! respect the efforts you have put in.

  • @swapnilrenge335
    @swapnilrenge335 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      Glad I could help! I will be covering CDN as part of build time optimization.

  • @scalpertrader61
    @scalpertrader61 2 ปีที่แล้ว +1

    Quality Content

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว +1

      Thanks Scalper. Keep watching #chakdeSystemDesign and do share it in your network 🙂

  • @amitankur11
    @amitankur11 2 ปีที่แล้ว

    Awesome work Chirag, you are really a GEM :)
    😃

  • @forceboxed
    @forceboxed 2 ปีที่แล้ว

    @22:07
    onload is called when the stylesheet has been loaded, NOT on document load as you said.

  • @venkateshpachigulla
    @venkateshpachigulla 2 ปีที่แล้ว +1

    @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

  • @RohitYadav-bo9mm
    @RohitYadav-bo9mm 5 หลายเดือนก่อน

    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.

  • @abhishekdhillon7110
    @abhishekdhillon7110 ปีที่แล้ว +7

    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 5 หลายเดือนก่อน

      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.

  • @harshsinha7642
    @harshsinha7642 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Thanks Harsh, will plan framework specific optimization soon

    • @harshsinha7642
      @harshsinha7642 2 ปีที่แล้ว +1

      @@engineerchirag Thank you !!

  • @yashpreetbathla4653
    @yashpreetbathla4653 2 ปีที่แล้ว

    Awesome content bhaiya , really appreciate your efforts ! Keep making such knowledgable content.

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว +1

      Yeah, keep watching #chakdeSystemDesign. Pls help me to spread #chakdeSystemDesign series to more folks 🙂🙏

    • @yashpreetbathla4653
      @yashpreetbathla4653 2 ปีที่แล้ว +1

      @@engineerchirag for sureeee

  • @lksjfadlk
    @lksjfadlk 2 ปีที่แล้ว

    This is great!!

  • @4444-c4s
    @4444-c4s 8 หลายเดือนก่อน

    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  6 หลายเดือนก่อน +1

      Thanks. Feedback noted!

    • @4444-c4s
      @4444-c4s 6 หลายเดือนก่อน

      @@engineerchirag You keep constantly improving ❤️❤️❤️
      I like this about you 😍

  • @kanishkbadola
    @kanishkbadola 4 หลายเดือนก่อน

    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.

  • @viditgoel2909
    @viditgoel2909 11 หลายเดือนก่อน

    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  10 หลายเดือนก่อน +1

      Thanks for the feedback 🙂. Wait for a big announcement 😀

    • @viditgoel2909
      @viditgoel2909 10 หลายเดือนก่อน

      @@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. ❤️❤️

  • @shagunpreetsingh7105
    @shagunpreetsingh7105 6 หลายเดือนก่อน

    Hey God, Bless this channel with lakhs of subscribers

    • @engineerchirag
      @engineerchirag  6 หลายเดือนก่อน

      Thanks a ton ❤️❤️❤️❤️❤️❤️❤️❤️

  • @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.

  • @pramithasdhakal5367
    @pramithasdhakal5367 5 หลายเดือนก่อน

    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

  • @ganeshshetty8441
    @ganeshshetty8441 2 ปีที่แล้ว

    Hi Guys , Lets make this channel very famous

    • @engineerchirag
      @engineerchirag  ปีที่แล้ว +1

      Thanks a ton Ganesh. Need more support for the channel. Thanks in advance 🙏🙂💖

  • @namanjiandani4593
    @namanjiandani4593 ปีที่แล้ว

    Thanks!

  • @coolme7437
    @coolme7437 11 หลายเดือนก่อน

    What's the difference b/w if we add 'defer' in the and if we write the at the bottom?

    • @engineerchirag
      @engineerchirag  10 หลายเดือนก่อน

      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-_- 8 หลายเดือนก่อน

      I believe adding defer will help in the script downloading in parallel due to the prescanner

  • @pratyushkumar7999
    @pratyushkumar7999 ปีที่แล้ว

    can you please make videos of implementing these technique in details with examples😅

    • @engineerchirag
      @engineerchirag  ปีที่แล้ว

      It's in pipeline, keep watching #chakdeSystemDesign 🚀

  • @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. :)

  • @4444-c4s
    @4444-c4s 7 หลายเดือนก่อน

    How this is relevant in Modern JS Frameworks like React, Angular?

    • @engineerchirag
      @engineerchirag  6 หลายเดือนก่อน

      Fundamentals remains the same.

  • @codedusting
    @codedusting 2 ปีที่แล้ว

    NextJS optimization? Because these techniques cannot always be used in such indepth control!

    • @engineerchirag
      @engineerchirag  2 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      I think, it's story of most of the boys 😜

  • @RajYadav-yh7vv
    @RajYadav-yh7vv ปีที่แล้ว +1

    not useful video, no specific practical information #time wasting