0Pricing
Sveltejs Academy · Lesson

Universal vs Server-Only load

Understand when load runs on both client and server versus server only.

Two Load Files

SvelteKit supports two flavors: +page.js (universal) and +page.server.js (server-only).

Universal load

Runs on both server (initial SSR) and client (subsequent navigations).

All lessons in this course

  1. Universal vs Server-Only load
  2. prerender = true for Static Pages
  3. ssr = false for Client-Only Pages
  4. Island Architecture
← Back to Sveltejs Academy