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
Protection Mode How protection mode works — a Cloudflare-style browser check where an interstitial auto-solves the captcha proof-of-work and redeems it for a clearance cookie. Request Cache How the request cache works — requestMemo and requestCache run an expensive computation once per request no matter how many components call it, then discard it at the request boundary. Shared State How shared state across islands works — two separate islands driving the same reactive $state.