4 ms·
> Preloading hovered links can be done with a standalone library. Couldn't it even be done in two lines with vanilla javascript? On hover fetch() the URL, the
by Izkata 7y ago
> Preloading hovered links can be done with a standalone library.
Couldn't it even be done in two lines with vanilla javascript? On hover fetch() the URL, then rely on the browser cache for when the user actually clicks?
- Spivak 7y agoAnd isn't this what browsers do already with prefetch?