TLDR Web Dev · ARTICLES & TUTORIALS

BLAZING FAST WEBSITES WITH SPECULATION RULES

debugbear.com18 min read

Summary from the TLDR Web Dev newsletter

Speculation rules, a new web platform feature, allow developers to instruct browsers to prerender or prefetch specific pages for faster navigation. Prerendering involves downloading and rendering a page in the background, while prefetching only downloads the main document resource. This can be achieved using URL lists or document rules with conditions.