Earlier quoted context omitted.
There's usually no penalty, though. You hover, and the page preload begins. Unless you're trying to keep your data usage to a minimum, there's no disadvantage to you.
Or prevent law enforcement, or other "overseers" from believing you visited a page. I can see children getting punkd by drive-by prefetch and reporting to teaching staff that X visited a neo-nazi site or, Y downloaded porn during class, etc.. "Prefetch did it" is probably not going to be apparent to most, and is going to sound like a weaksauce excuse.
Show HN: Make your site’s pages instant in one minute
231–240 of 361 posts
Re: Show HN: Make your site’s pages instant in one minute
#232Live demo on my website @ https://sysadmincasts.com/ Temporary added it in-line for testing. I was already in the sub 100ms level but this just puts it over the top! Also updated all admin add/edit/delete/toggle/logout links with "data-no-instant". Pretty easy. Open developer preview and watch the network tab. Pretty neat to watch it prefetch! Thanks for creating this! ps. Working on adding the license comment. I str…
Re: Show HN: Make your site’s pages instant in one minute
#233Earlier quoted context omitted.
Or prevent law enforcement, or other "overseers" from believing you visited a page. I can see children getting punkd by drive-by prefetch and reporting to teaching staff that X visited a neo-nazi site or, Y downloaded porn during class, etc.. "Prefetch did it" is probably not going to be apparent to most, and is going to sound like a weaksauce excuse.
On the other hand if you're visiting pages that link to neo-nazi content or pornography just one link away from the page you're currently on, chances are the page you're currently on would violate whatever acceptable use policy you're supposed to be following.
Re: Show HN: Make your site’s pages instant in one minute
#234Earlier quoted context omitted.
Right, which is why the included library includes an HTML attribute to disable prefetch on a given link.
OP’s point was that logout should not be implemented with a link/GET but instead with a button/POST for exactly this reason.
I just checked NewRelic, Twilio, Stripe and GitHub. The first 3 logged out with a GET request and GitHub used a POST.
Re: Show HN: Make your site’s pages instant in one minute
#235Re: Show HN: Make your site’s pages instant in one minute
#236Re: Show HN: Make your site’s pages instant in one minute
#237It doesn't seem to work for me. There are no JavaScript errors in the console* but the that says "test your clicking speed" doesn't even have an event attached to it. Hovering over anything for multiple seconds doesn't fire any requests in the network panel. Anyone else having this issue? * Well, there's this, but I assume it's not dependent on google... `Loading failed for the with source “hxxps://www.googletagmanag…
Are you using an older browser? It sounds like your browser doesn’t support JS modules.
Re: Show HN: Make your site’s pages instant in one minute
#238Earlier quoted context omitted.
Breaking the web is not a good thing. Regardless of how you think things should be done.
Indeed, breaking the web by misusing GET is not a good thing. By extension, keeping the web broken by not exposing this breakage is not a good thing either.
Re: Show HN: Make your site’s pages instant in one minute
#239Earlier quoted context omitted.
On the other hand if you're visiting pages that link to neo-nazi content or pornography just one link away from the page you're currently on, chances are the page you're currently on would violate whatever acceptable use policy you're supposed to be following.
Or you opened a random blog, Reddit, or did an innocuous search, or ...
Every instance of web filtering I've been subject to in my life just blocks the bad page and the admins expect people to have a few bad requests just by accident or whatever. You'd have to be constantly hitting the filter for it to actually become a real issue.
Re: Show HN: Make your site’s pages instant in one minute
#240Earlier quoted context omitted.
It actually cancels the previous request when you hover over another link
Client side canceled doesn’t necessarily translate to server side canceled. I used to use a preload-on-hover trick like this but decided to remove it once we started getting a lot of traffic. I was afraid I’d overload the server.
About your first statement though, which server software do you use that still sends data after the client has closed the connection? Doesn't it use hearbeats based on ACKs?