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.
<p>Check the response headers: <code>Vary: Cookie</code> is set by the route handle.</p>
More demos
Invalidate mochi:defer islands How to reload server islands on demand — name a mochi:defer island and call reloadDeferredIsland(name) from the browser to re-fetch its server HTML. Hello World How server-side rendering works — a Mochi.page() renders Svelte on the server and ships zero JavaScript. Form Redirects How form action redirects work — redirect(303, …) is intercepted as a JSON envelope by {@attach enhance(...)} or followed natively by the browser.