Lurker News

Comments (337) 70 threads

Earlier comments
technotarek#
Make it opt-in (vs opt-out)? As best I can tell, there is only the blacklist functionality (via a markup attribute). I can imagine many use cases where it would be far easier to only activate where a link has .instant-page.
desertrider12#
I thought chrome already did this. Somebody else here pointed out that's impossible in general because even regular GET requests can have side effects. I wonder what it's doing with 1.6 GB of memory then...
broth1 reply#
I’m wondering if a possible use case for this is to use it to warm up app servers when doing deployments?

Enumerate through a list of pages on your site and use something like Puppeteer to simulate hovering over links on each page.

thijsvandien#
Why would you simulate hovering over links if you can just visit those URLs directly? If you want all links anyway, you lose the real optimization here, which is not the preloading itself, but limiting that to the (small) subset that a particular user seems interested in.
the_arun1 reply#
This is a good optimization. However, it is like pushing the mud under the carpet. It’ll hide real problem. I would rather fix the root cause of slow rendering pages and then use this trick to make it better.
Zelphyr#
I think it _could_ be used that way. If used properly, however, you’d make sure all your other ducks are in a row before using something like this as icing on the cake, so to speak.

But you make an important point.

Load more comments