Skip to content

Commit a189189

Browse files
rdhyeeclaude
andauthored
Preconnect + preload critical path parquets (#119)
Warms the network for the two parquet files on the phase 1 critical path so the browser starts fetching them before Cesium is parsed and DuckDB-WASM asks for them: - preconnect to data.isamples.org (DNS + TLS early) - preload the res4 H3 summary (580 KB — primary cluster data) - preload the facet summaries (2 KB — instant filter counts) Expected win: 200-500 ms off "nav → phase 1 complete" on cold cache, less on warm. Measured against the ?perf=1 panel from PR #118. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 656e9ed commit a189189

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tutorials/progressive_globe.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ title: "Interactive Explorer"
33
subtitle: "Search and explore 6.7 million material samples"
44
categories: [parquet, spatial, h3, performance, isamples]
55
sidebar: false
6+
format:
7+
html:
8+
include-in-header:
9+
text: |
10+
<link rel="preconnect" href="https://data.isamples.org" crossorigin>
11+
<link rel="preload" as="fetch" crossorigin="anonymous" href="https://data.isamples.org/isamples_202601_h3_summary_res4.parquet">
12+
<link rel="preload" as="fetch" crossorigin="anonymous" href="https://data.isamples.org/isamples_202601_facet_summaries.parquet">
613
---
714

815
::: {.callout-note collapse="true"}

0 commit comments

Comments
 (0)