There's generally no server involved with the static site generation it's all done at build time. If you want to make a change to any of the pages then you must either do it client side and update it once it's been loaded or you have to regenerate that specific page of the website and redeploy it totally Next up here is SSR or server side rendered and an SSR site can differ because it's so funny a lot of these things you do get you get wrapped up in in what they are but an SSR sites compared to a MPA is basically a site with a hydration step.
In this Hasty Treat, Scott and Wes talk through the various rendering methods in use today and the pros / cons of each.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Sanity - Sponsor
Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
Show Notes
- 00:26 Welcome
- 01:31 What is rendering?
- 02:41 Sponsor: Sentry
- 03:58 Sponsor: Sanity
- 04:55 Rendering methods
- 05:48 Single page application (SPA)
- 07:36 Multi-page Application
- 09:14 Static Site Generation (SSG)
- 11:10 Service Side Rendered (SSR)
- 13:08 Partial hydration
- 14:03 Progressive hydration
- 15:38 Island architecture
- 16:25 Progressive enhancement
- 18:18 Incremental Static Generation
- 19:12 Streaming SSR
- 19:53 Resumability
- 21:51 Edge rendering
- 23:11 Missing from the list
Tweet us your tasty treats