What are Server Side Rendering (SSR) & Client Side Rendering (CSR) | Pros + Cons

Sdílet
Vložit
  • čas přidán 28. 04. 2022
  • Check out the roadmap 🔥 www.smoljames.com/roadmap
    In this video we understand what client side rendering and server side rendering both are. We also look at a practical Node.js + Express example of how each work and their respective advantages + disadvantages + use cases.
    #webdev #SSR #CSR
    🔥 All my links
    www.smoljames.com
    🔖 Topics Covered
    - Client side rendering (CSR)
    - Server side rendering (SSR)

Komentáře • 61

  • @gabg3686
    @gabg3686 Před rokem +45

    I don't know how many resources I've read/watched that explained the difference but didn't show it. I just couldnt grasp it until now. This helped so much, thank you!

  • @hayleyt.4680
    @hayleyt.4680 Před rokem +20

    Love this explanation, straight forward with example! Thanks a lot for this

  • @jawadsrour8490
    @jawadsrour8490 Před rokem +1

    Great video explaining the advantages/disadvantages of each!

  • @al-doori2392
    @al-doori2392 Před rokem +2

    Man thank you so much, simple and informative, wish you all the best.

  • @warrayn10
    @warrayn10 Před 7 měsíci +1

    Thank you! Such a simple explanation! :)

  • @mayurbanta
    @mayurbanta Před měsícem +1

    To the point, best explanation so far

  • @cyberstarcritic
    @cyberstarcritic Před rokem +1

    What a bos!! u literally showed us the difference, by not just explaning it niec!

  • @mirzafarazbaig8945
    @mirzafarazbaig8945 Před rokem +1

    Great video with example.

  • @gorandamchevski
    @gorandamchevski Před 2 lety +2

    Great insight, nice to know that a combined approach can open more options for an app. TY

    • @Smoljames
      @Smoljames  Před 2 lety

      glad you enjoyed :) thanks for the support too

  • @kereo32
    @kereo32 Před 9 měsíci +1

    Clean and on point explanation! Thank you.

  • @jongwoolim616
    @jongwoolim616 Před rokem +1

    Your explanation is a boss

  • @shulin29
    @shulin29 Před 5 měsíci +1

    nicely explained, thanks! :D

  • @andydallo5826
    @andydallo5826 Před rokem +1

    Couldn't make it clearer. thank you !

  • @ganeshshetty8441
    @ganeshshetty8441 Před rokem +1

    Awesome Video, this is the best video on these
    Thanks

  • @ibtesumrezaaninda323
    @ibtesumrezaaninda323 Před rokem +1

    Oh! Such quality content! Love this!

  • @holyage3128
    @holyage3128 Před rokem

    man, you did it clear as possible!!!!

  • @solo-yl8uc
    @solo-yl8uc Před rokem +1

    Very clear explanation, thanks so much.

  • @absurd0000
    @absurd0000 Před rokem +1

    Excellent way to explain this. Thank you

  • @Becky1498
    @Becky1498 Před 2 lety +1

    thanks for sharing !

  • @creed404
    @creed404 Před rokem +2

    I can say that this is the explanation i wanted to hear 😅

  • @brunocapitelli7754
    @brunocapitelli7754 Před rokem +1

    Great content! Straight to the point and just enough detailed. Btw whats that theme?

    • @Smoljames
      @Smoljames  Před rokem +1

      Glad you enjoyed :) and it's 'Tomorrow night blue'

  • @user-vl4gh7pt3d
    @user-vl4gh7pt3d Před 7 měsíci +1

    Finally someone who can actually explain it.

  • @anton-r
    @anton-r Před rokem +1

    like ++. super tnx , fast and to the point

  • @haythembenkhlifa3197
    @haythembenkhlifa3197 Před rokem +1

    thank you!

  • @kristijanlazarev
    @kristijanlazarev Před 11 měsíci +1

    Very nice man! fr

  • @Gashvah
    @Gashvah Před 5 měsíci +1

    Thank you

  • @koolmo
    @koolmo Před 5 měsíci +1

    great video!

  • @martapfahl940
    @martapfahl940 Před rokem +5

    So if I get it correctly if the website is hosted up on an extremley fast server you get this instant page loads right? And then the dynamic content that NEEDS to be rendered on client side is being loaded there but you already see the rest of the page, this is freaking cool.

  • @newygreek
    @newygreek Před 11 měsíci

    Is there an app in Chrome that identifies on the front end browser which elements are not SSR? And in addition which data on the front is not being parsed by SSR? So for example I have seen product URLs not SSR, no html a href tags which is problematic for SEO? Something to see quickly rather than investigating and inspecting elements?

  • @cinammondream
    @cinammondream Před rokem +1

    Oh my gosh amazing video informative and helpful. Are you in New Zealand?

    • @Smoljames
      @Smoljames  Před rokem +1

      Glad you found it helpful! And yes I am in New Zealand - good guess haha

    • @cinammondream
      @cinammondream Před rokem +1

      Haha thanks I picked up on the accent - all my favourite movies are Kiwi (whale rider, hunt for the wilder people) and I've watched so much 'How To Dad' on CZcams and I love artists like Princess Chelsea - i realised quite far into the video that you weren't just Australian. Please humour me, I'm British!!!

  • @user-rs4hf7ud2e
    @user-rs4hf7ud2e Před rokem +1

    Thanks

  • @Konslufius
    @Konslufius Před 8 měsíci

    So the initial HTML is SSR because it comes direktly from the server, the and part with the fruit is CSR, even tho the information comes from the server, but in the end is rendered by the client.

  • @ashishkumarsahoo6966
    @ashishkumarsahoo6966 Před 6 měsíci +2

    And it's best easiest explanation

  • @joshuabrard1061
    @joshuabrard1061 Před rokem +1

    Good video

  • @haticesurumlu1833
    @haticesurumlu1833 Před 7 měsíci +1

    Hello the video is very helpful for me . can you share this codes?

  • @harisjose2050
    @harisjose2050 Před rokem

    ❤❤

  • @VishalPrajapati-oh3zo
    @VishalPrajapati-oh3zo Před rokem +1

    Hey...
    Can you make video for ssr in react v18 from scratch?

  • @diegounanue
    @diegounanue Před 11 dny

    What happens if you have css?

  • @dan_b8982
    @dan_b8982 Před rokem +1

    Nice explanation - your CSS is taking ages to load though ;-)

    • @Smoljames
      @Smoljames  Před rokem +1

      Haha man's got an eye for detail

  • @GlennRobinson777
    @GlennRobinson777 Před rokem

    I get where you're coming from, but the premise of "2 processes rather than 1" isn't 100% accurate. Something has to process the data to make the HTML representation, so if that is completed server side that means 1 longer process rather than 2 short ones (you're not magically removing the need for that process, just shifting which side is responsible). As such if you heavily rely on data formatting you need to scale your server resources to cater for this - so I just don't get how it's such a big saving on time?

  • @Ionut-lm9cj
    @Ionut-lm9cj Před rokem

    Abcd