How Mixed Pages Execute:
1. Phase 1: All
2. Phase 2: HTTP headers and static HTML preceding stream tags commit and flush immediately.
3. Phase 3: Stream script outputs flush progressively across the open connection in document source order.
1. Phase 1: All
data-bascik-server scripts execute first. If any fail, the request aborts with an HTTP 500 status.2. Phase 2: HTTP headers and static HTML preceding stream tags commit and flush immediately.
3. Phase 3: Stream script outputs flush progressively across the open connection in document source order.
Phase 1: Server Script
<script data-bascik-server>Executes on Worker before headers commit:
Session Context: Public Visitor
Edge Host: cloudflare
Pre-Commit UTC: 2026-09-17T23:22:21.017Z
Pre-Commit UTC: 2026-09-17T23:22:21.017Z
Phase 2 & 3: Stream Script
<script data-bascik-stream>Headers commit immediately; chunk delivers over open stream:
Pending Stream…
Stage 1: Flushed Shell Waiting for stream (~800ms)…
✓ Phase 3 Stream Chunk ResolvedDelivered in Open Stream
Asynchronous edge database query finished. HTML chunk was flushed progressively over open connection.
Stage 2: Chunk Arrival800ms elapsed