logoalt Hacker News

_heimdallyesterday at 11:02 AM1 replyview on HN

Prefetching pages doesn't require a frontend framework though. All it takes is a simple script to preload all or specific anchor links on the page, or you could get fancier with a service worker and a site manifest if you want to preload pages that may not be linked on the current page.


Replies

chriswarboyesterday at 1:08 PM

It shouldn't need any scripts https://en.wikipedia.org/wiki/Link_prefetching

It can also be imposed by the client, e.g. via a https://en.wikipedia.org/wiki/Web_accelerator

show 1 reply