SSG vs SSR Explained in 10 Minutes (For Beginners)

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • Let's talk about 2 common rendering strategies on the web: SSG (static site generation) and SSR (server-sider rendering).
    Learn more about SSG vs SSR with Astro - astrocourse.dev/
    *DISCORD*
    Join the Learn Build Teach Discord Server 💬 - / discord
    *STAY IN TOUCH 👋*
    Newsletter 🗞 - www.jamesqquic...
    Follow me on Twitter 🐦 - / jamesqquick
    Check out the Podcast - compressed.fm/
    Courses - jamesqquick.co...
    *QUESTIONS ABOUT MY SETUP*
    Check out my Uses page for my VS Code setup, what recording equipment I use, etc. www.jamesqquic...

КОМЕНТАРІ • 19

  • @Escko
    @Escko 6 місяців тому +1

    Just finished watching the podcast about Astro and headless WP so I had to come here to better understand static sites vs server rendered. Thanks man.

  • @codewithguillaume
    @codewithguillaume Рік тому +1

    James I love your work. Thanks for this!

  • @twd2
    @twd2 Рік тому +2

    Incrementally static regenerated pages looks like an interesting topic 😍!!!

    • @JamesQQuick
      @JamesQQuick  Рік тому +1

      It's a pretty cool. Might do a follow up on that!

  • @ChaseLancaster
    @ChaseLancaster 10 місяців тому

    I've been diving into Vercel and Next.js lately and this video was great!

  • @nitesh.unique
    @nitesh.unique Рік тому +1

    Loved the way things are explained...would also love to know all type of rendering ❤

    • @JamesQQuick
      @JamesQQuick  Рік тому

      So glad to hear it! Thanks for watching. :)

    • @Olga-id1qy
      @Olga-id1qy 11 місяців тому

      Me as well, plus can you expand on the comment mentioned in the video about ssg limitations and example for hybrid approach to use ssg and SSR. Huge thanks

  • @nowiK45
    @nowiK45 8 місяців тому

    this video helped a lot ! thanks james!

  • @onyekastephen2250
    @onyekastephen2250 3 місяці тому

    Of course we're interested; Actually don't understand how caching works with the web talk more of applying it to SSR.
    I'd love to be taken on that. Moreover, I enjoyed this topic.

  • @Avarn388
    @Avarn388 Рік тому +1

    As someone who is learning Gatsby(and Next.Js); this video is really helpful. Thank you very much. To make sure, I understand Build request vs Request time, is build request like building a house where you have architects, interior designs etc. working on the physical construction of the house and getting it ready and Request time is just allowing individuals access into the house?

    • @JamesQQuick
      @JamesQQuick  Рік тому +1

      Glad it's helpful! So build time in this case is specifically what happens on the build server, typically during deployment. With Netlify/Vercel, you can connect to your Github project. Whenever you push new code to that project, Netlify/Vercel will trigger a new build. After the build is done, it will deploy the new files.
      Request time specifically refers to when the user navigates to a given page. The browser then sends the request to get that html page back.
      Does that help?

  • @ronpalmer7260
    @ronpalmer7260 9 місяців тому

    I've got a static Astro site up and working and I love it. I now need to add ssr functionality using nodejs and express. I can't find any good documentation on how the the basic routing works. I know how to do routing in an express app but how do I get all the static routes and how do I integrate the static routing with the dynamic routing?

  • @lets.walk.around.gothenburg
    @lets.walk.around.gothenburg 11 місяців тому

    Good day, dear friend, I really enjoyed watching this excellent video.😍🙃🙃 Keep doing great things. Have a nice day.🔥

  • @thengakola6217
    @thengakola6217 4 місяці тому

    Bro looks tired af.

  • @genechristiansomoza4931
    @genechristiansomoza4931 4 місяці тому

    They somehow made a scripting language to a compiled language. 😅

    • @thengakola6217
      @thengakola6217 4 місяці тому +2

      It aint compilation... its transpilation

  • @mario_luis_dev
    @mario_luis_dev Рік тому

    masterful explanation James, keep up the great work 🫡