Lurker News

Comments (337) 70 threads

Earlier comments
demarq#
I wish there were more examples on that page though. Where can I test this being used extensively?
akras143 replies#
Sounds too good to be true, but also brilliant. Curious what others think. What are the downsides?
dieulot1 reply#
Thanks. The only downside is that you can expect twice the number of requests to your pages (only the pages themselves, not their assets).
lallysingh1 reply#
And you're using a lot more of the users'bandwidth
dieulot#
You’re only preloading HTML, so it’s negligible compared to what trackers and ads do for instance.
jakelazaroff#
Increased load on your web server, but other than that zero! (You might even be able to mitigate the load with caching). It progressively enhances existing links if JavaScript is enabled.

There are other libraries that do similar things, such as InstantClick: http://instantclick.io/

ddebernardy1 reply#
Assuming you use the script as suggested, letting a 3rd party site know your stats (and users) sounds like a non-trivial downside.

I'd surmise the author is benevolent, but if this were to be turned into a business, some kind of data play seems like the trivial next step.

shaklee3#
As other comments have pointed out, you can run the js locally from your site instead.
NPMaxwell1 reply#
Where does their code get inserted? I could imagine it might help if it were added to the page you were linking from, but the site seems to indicate the code gets added to page you want to have load quickly -- the page you're linking to.
dieulot#
On the pages you’re linking from.
ian01 reply#
It would be great to deploy this on hacker news itself, at least on the "see comments" link of the main page. Page-loading is already blazingly fast, but my latency is still a bit high as I use a mobile internet connection.

Load more comments