~/talk

Speculation Rules Load Pages By Thinking

Talkat Devworld Conference 2025 · 2025-02-27..02-28· [web-performance, web-platform]
slides:none on file

Claim: speculation rules make multi-page navigation feel instant by prefetching or pre-rendering pages ahead of clicks. Demo shows a link drop from ~267 ms to 63 ms when ready. API offers conservative eagerness (mouse down ~100–200 ms head start), moderate (hover ~200 ms), and immediate (full speculative cost). Works today in Chromium only, cache lasts about five minutes, scriptable via JavaScript for dynamic targeting, and pairs well with dictionary compression; SPAs and WebKit iOS remain unsupported.

AI-written summary · about

  1. 0:00Speculation rules intro
  2. 1:54Why performance matters
  3. 3:43Traditional page loading
  4. 5:29What speculation rules fix
  5. 7:37Speculation rules API
  6. 9:03Eagerness levels explained
  7. 11:53Accuracy vs head start
  8. 13:37Measuring navigation perf
  9. 14:40DevTools for speculation rules
  10. 15:01Live demo
  11. 17:52Impact on navigation speed
  12. 18:34Browser support
  13. 19:17When not to use
  14. 20:42Common pitfalls
  15. 21:46Real-world implementations
  16. 22:31Dictionary compression
  17. 23:55Next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.