precog
Your links, loaded before the click.
Asks TypeSafe Jev which link a visitor is about to click, then warms exactly that navigation. For Nuxt and Next.js.
npm install @precog/nuxt # or @precog/next
- One request, three questions
Jev answers with a probability for every link on the page, in about 400 ms.
- Two effectors
Speculation rules for document navigations, your framework's preloading for in-app ones.
- Nuxt and Next
One shared core, one adapter each. The framework-free half is published too.
- Watch it guess
Probability badges on every link, a HUD, and a Nuxt DevTools tab.
- Fails open
Any error or timeout means the page is left exactly as it was.
- The key stays server side
No identifiers, no full URLs, and a test that fails if the key ever reaches the browser.