Re:Show HN: JS library to make your website instant
by ivanca on Saturday February 08, 2014 @12:23PM
(#7201779)
Most times there are some few links that are very frequently clicked on; for example in Hacker News is usually the "next page" and the "threads". So if there is not one already there should be a way to specify some (obligatory?) preload pages.
[ Parent
| on HN ]
Re:Show HN: JS library to make your website instant
by CoryG89 on Saturday February 08, 2014 @02:14PM
(#7202174)
I think you should utilize the prefetch behavior of the link tag for situations such as these. No need for JavaScript at all.
Re:Show HN: JS library to make your website instant
by k__ on Saturday February 08, 2014 @02:40PM
(#7202285)
Could you elaborate this, please.
Re:Show HN: JS library to make your website instant
by ivanca on Saturday February 08, 2014 @03:23PM
(#7202518)
<link rel="prefetch" href="http://example.com/page2" />
More info at http://davidwalsh.name/html5-prefetch