Hacker GitHub

← All repos

ericfortis/aot-fetch-demo

View on GitHub ↗ ★ 32 JavaScript

Ahead of Time Fetch for speeding up SPAs

5 mentions on Hacker News by 1 person: 1 story, 4 comments · first 2025-08-24 · latest 2026-09-17

Mentions per year 5 mentions · busiest year 2026 (3)
20082026
  1. Yes, but it can be regardless of being a cache miss. If you are curious about the use case: https://github.com/ericfortis/aot-fetch-demo/blob/main/optio...
  2. …includes the critical API data in the HTML document. Here’s a PoC of that technique, see option 2. https://github.com/ericfortis/aot-fetch-demo
    comment by efortis · 2026-08-29 · in Modern Web Development
  3. Prefetching critical API data on the index.html of an SPA instead of using SSR. https://github.com/ericfortis/aot-fetch-demo
  4. …href="/api/colors" as="fetch" crossorigin="use-credentials"> </head> More options and details: https://github.com/ericfortis/aot-fetch-demo
  5. ▲ 2
    Ahead of Time Fetch for SPAs
    story by efortis · 2025-08-24 · 0 comments