Hasty Briefsbeta

Bilingual

Make any website load faster with 6 lines of HTML

9 months ago
  • #chrome
  • #web-development
  • #performance
  • The Chrome Speculation Rules API enables near-instant page loading by preloading and prerendering pages.
  • Prefetch downloads only the top-level HTML, while prerender fully renders the page in the background.
  • Eagerness 'moderate' starts preloading 200ms after a user hovers over a link.
  • Docuseal.com replaced Hotwired Turbo with speculation rules for faster page loads.
  • Speculation Rules API is supported only in Chrome 121+.
  • A fallback script preloads pages on hover for Firefox and Safari users.
  • Cache-Control headers with max-age are required for the fallback script to work.