Skip to content

Commit 620a675

Browse files
rdhyeeclaude
andauthored
Port preconnect + preload pattern to Explorer and Deep-Dive (#122)
Follows the "port-out discipline" track: once a pattern works on the Interactive Explorer (progressive_globe, PR #119), port it to the other two tutorial pages so they share the win. - isamples_explorer.qmd: preconnect + preload the 2 KB facet_summaries and 6 KB facet_cross_filter parquets (critical-path for instant facet rendering). - zenodo_isamples_analysis.qmd: preconnect + preload the 2 KB facet_summaries parquet. The page's primary dataset (wide_h3, 292 MB) is intentionally *not* preloaded — DuckDB-WASM uses HTTP range requests, and a full preload would waste bandwidth for all visitors. All three tutorials now benefit from the data.isamples.org Worker's immutable cache-control (deployed 2026-04-17) — the edge caches served via these preload fetches are durable across visits. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 68af179 commit 620a675

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

tutorials/isamples_explorer.qmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ format:
66
code-fold: true
77
toc: true
88
toc-depth: 3
9+
include-in-header:
10+
text: |
11+
<link rel="preconnect" href="https://data.isamples.org" crossorigin>
12+
<link rel="preload" as="fetch" crossorigin="anonymous" href="https://data.isamples.org/isamples_202601_facet_summaries.parquet">
13+
<link rel="preload" as="fetch" crossorigin="anonymous" href="https://data.isamples.org/isamples_202601_facet_cross_filter.parquet">
914
---
1015

1116
Search and explore **6.7 million physical samples** from scientific collections worldwide.

tutorials/zenodo_isamples_analysis.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ format:
1010
toc: true
1111
toc-depth: 3
1212
theme: cosmo
13+
include-in-header:
14+
text: |
15+
<link rel="preconnect" href="https://data.isamples.org" crossorigin>
16+
<link rel="preload" as="fetch" crossorigin="anonymous" href="https://data.isamples.org/isamples_202601_facet_summaries.parquet">
1317
---
1418

1519
# Introduction

0 commit comments

Comments
 (0)