~/talk

Demystifying Client & Server Rendering in SvelteKit

Talkat Svelte Summit Fall 2024 · on Saturday, 2024-10-19· [web-platform, frontend-architecture]
name:Henry Lie
github:HenryLie
slides:none on file

SvelteKit lets routes mix SSR, CSR and prerendering so you can pre-render marketing pages at build time (pre-render true + CSR false), server-render content pages for better SEO and faster LCP via server load results, and make admin areas client-heavy (SSR false for SPA-like admin). Server-only logic lives in +server.js load functions and form actions, API routes proxy third-party calls, and deploy uses adapter-static or adapter-node or platform-specific adapters. Hydration adds cost but speeds perceived load.

AI-written summary · about

  1. 0:00Introduction
  2. 0:18What is SvelteKit
  3. 9:32Single page applications
  4. 11:12Hybrid rendering
  5. 14:33Server request handling
  6. 15:29Configuration and deployment
  7. 25:10Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.