Destiny
Sign In
RES-76 · WHEN CLIENT-SIDE INVERTED JSON SHARDS BEAT HOSTED SEARCH CLOUDS

Zero-Backend Docs Search: Prefix-Sharded Static Search Indexes Handle 5,000+ Pages Without API Quotas

Evaluating query latency, payload budgets, and zero-cookie privacy of pre-built static search indices inside Destiny Minisites.

Scaling Guideline: For vast multi-million-SKU product catalogs or dynamic personalized inventory, keep server-backed search APIs; for 10–5,000 documentation pages, static edge indexes excel.

RES-76 · Static Search ArchitectureApple Silicon Measured

02 · Quantitative Metrology Table

Audited Baselines & Measurement Methodology

Measured DimensionObserved ValueMethodology & Verification Scope
Typo Query Latency< 1 ms In-Memory LookupEliminates 80–250 ms remote search API round trips per keystroke.
500-Page Compressed Shard~45–95 KB Brotli On-DemandFetched lazily only when reader activates search input (Cmd+K).
Air-Gapped Dev Intranet100% Offline CapableWorks cleanly inside private corporate networks & local Mac previews.
Per-Query Tax Saved$420–$2,400/YrAvoids Algolia/hosted doc search record & operations limits.

03 · Empirical Takeaways

Key Buyer & Systems Findings

FINDING 01

Most software developer documentation portals fit comfortably inside tiny lazily loaded static search indexes rather than remote hosted APIs.

FINDING 02

Zero network telemetry per search keystroke protects sensitive customer engineering queries inside enterprise portals.

FINDING 03

Pre-building normalized stemmed shards alongside Destiny Minisites docs delivers desktop-instant Cmd+K search on static edge CDN.

Destiny 2.0 Mac: 78.62 tok/s · M1–M6 NativeZero Trackers · Cross-Origin SVG
Embed Apple Silicon Metrology Badge

Cite reproducible Apple M4 Pro Unified Memory benchmark receipts in engineering repositories.

04 · Static Docs Index Scaling FAQ

Static Docs Index Scaling — Methodology & Reproduction

02 Questions
Does a static search index slow down initial page load on mobile phones?
No—when the compressed index shard loads only on Cmd+K focus or click, initial FCP/LCP experiences zero added payload.
Can engineering teams generate static search-ready docs offline in Destiny?
Yes—explore MS-79 (Static Docs Offline Search Builder) inside Destiny Minisites.