Cookie Vary Test
This page sets Vary: Cookie on every response. The page cache sees this header and emits a s-vary-cookie skip — it refuses to cache the response unless the matching rule explicitly opts in via varyOnCookies.
Check the response headers: Vary: Cookie is set by the route handle.
<script>
import { files } from './files.ts';
const sources = await loadSources(files);
</script>
<p>Check the response headers: <code>Vary: Cookie</code> is set by the route handle.</p>
More demos
Image: Named sizes Declare resize / rotate / flip / modulate / format transforms once as named sizes; getImageUrl mints a deferred URL and getImage runs one inline for bytes + metadata. Realtime Admin Panel Live admin dashboard with WebSocket updates and server-driven state. Server Props Define serverProps on Mochi.page() to pass fresh data into a Svelte page on every request.