How to Improve Website Performance? | Frontend System Design | Prefetching Resources

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 35

  • @zubair-shabir
    @zubair-shabir Месяц назад +2

    Yes we would love to know more about these practices, how to deal with real world peojects

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад

      Okay. Thanks for letting me know!

  • @jenwinjesswin
    @jenwinjesswin Месяц назад +2

    Yes, would love to know more about these practices in detail with a real world example.

  • @satyamsingh7178
    @satyamsingh7178 Месяц назад +1

    Sure.Highly appreciated

  • @jayantsharma2669
    @jayantsharma2669 20 дней назад

    Thanks for the amazing explanation 🙏🏼

  • @madhuiitb-cse
    @madhuiitb-cse Месяц назад +1

    It is really very helpful for engineers like me. Kudos to you for all your efforts.
    Please do more these kind of videos. It really helps a lot engineers.

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад

      Glad to hear! Already planning the next videos. 🚀

  • @SPilla8
    @SPilla8 Месяц назад

    Great explanation 👏👏

  • @ary_akki
    @ary_akki Месяц назад

    Cristal Clear Explanation!

  • @narayand16
    @narayand16 Месяц назад +1

    Hi Yomesh,
    Loved the way you showcase and explain the things in simple terms. Please keep it up. 👍
    Here are few suggestions/requests
    1. Please throw more light on how to do analytics driven performance improvement in web application with examples. As mentioned, improve the non performant app with few techniques.
    2. Add timestamps whenever possible.
    3. Please bring more such topics with real world examples and show how to overcome performance bottlenecks within the same video with simple examples. Make sure video length is not more than 20-30 minutes.
    Thanks for everything. I hope I didn't sound like commanding over you.
    Have a great rest of the day!!

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад +1

      Hi, thanks for the suggestions!
      I will definitely try to build on your suggestions and incorporate in future videos! 🙌🏼

  • @itsamitd
    @itsamitd Месяц назад

    Nice one Yomesh!

  • @SachinYadav-yx1rc
    @SachinYadav-yx1rc Месяц назад

    Can you please make a video on how to architecture of redux Toolkit like a senior dev with multiple slices and thunks ( mainly how is one supposed to know what should be a slice. Eg Homepage has profile, asset allocation, derivatives, upcoming transactions all these data are from different APIs. So one should create a single slice or multiple slices. Not using tanstack query rather redux Toolkit thunk)

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад +1

      Thanks for the support!
      I will definitely look into this topic and create a detailed video soon. 🙏🏻

  • @allanfernandes829
    @allanfernandes829 Месяц назад +1

    Hey Yomesh,
    Can I say onboarding experience in a product can also be an example?

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад

      Hey, yes. Onboarding can be a good example where we know expected user flows. We can heavily optimise it using prefetching. Thanks for the good example!

  • @harshithsshetty007
    @harshithsshetty007 17 дней назад

    Sir, please make a tutorial about Remix JS because I want to learn from you who have done some development in Remix

  • @sagarmusic0798
    @sagarmusic0798 29 дней назад

    Hi Yomesh, Great explaination I am just curious to know how are you prefetching the next page resources like the js and css without actually going to next page because the js and css were also written in within that page component itself how can these css and js of that next page component can be downloaded even before rendering it? can you explain what are you exactly passing in the href?

    • @DevtoolsTech
      @DevtoolsTech  29 дней назад +1

      If you use any framework as shown in the video, they prefetch all the resources based on the url of the next page. When we build our website then all the chunks are created and there is a mapping of which resources belong which urls. Frameworks fetch all the resources based on that. Href would be the normal url of the final page.

  • @musiclovrrap862
    @musiclovrrap862 Месяц назад

    hello sir, Can you please make a video on the most famous these days Masonary Layout or dynamically Adjustable Bento Grids like Notes from Google keep... That would help a lot of understand how different designs and their responsivesness get implemented in the industry

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад +1

      I will look into it. Thank you for the suggestion!

  • @mimanshaswarup2184
    @mimanshaswarup2184 Месяц назад

    I have query, hover prefetching will work for touch devices like mobile?

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад +1

      I would say for mobile device should change the behaviour to fetch resources as soon as they enter viewport. Hover works but not fullproof solution.

    • @mimanshaswarup2184
      @mimanshaswarup2184 Месяц назад

      @DevtoolsTech thanks man

  • @kumarankur
    @kumarankur Месяц назад

    can we provide a delay / is there a delay after which the resources are prefetched once hovered? one use-case of this I can think of is that what if I have hovered on the card and I start to scroll, it will try and prefetch the resources of all the cards?

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад +1

      All cards would have the same resources as they are the same component. If your every card is a different component then it will fetch different resources.
      You have a delay if you fetch programmatically on your own. Something like dynamic import on hover but this is not provided out of box by any framework afaik. You have to manage it.

    • @kumarankur
      @kumarankur Месяц назад

      @ got it, thanks

  • @PranjalVarshney-b7u
    @PranjalVarshney-b7u Месяц назад

    How can i prefetch js chunks in next js? all the initial js chunks in next js are set to low priority

    • @DevtoolsTech
      @DevtoolsTech  Месяц назад

      If you are using the Link tag from next then it will automatically prefetch. You can use router provided by next to prefetch url contents programmatically.
      nextjs.org/docs/pages/api-reference/functions/use-router#routerprefetch

  • @sushmitgaur8537
    @sushmitgaur8537 Месяц назад

    timestamp?

  • @satyamsingh7178
    @satyamsingh7178 Месяц назад

    15 min