News for hackers. Stuff that matters.
Re:Show HN: Make your site’s pages instant in one minute by gwern on Saturday February 09, 2019 @11:15AM (#19123024)
Enabling it by default Internet-wide seems like it could be a bad idea for many reasons. If I go out of my way to enable it on my site, I am taking responsibility for the bandwidth and any side-effects of prefetching a link and understand what I am doing. But if it is simply enabled Internet-wide, isn't that bordering on a DDoS? What about poorly-coded websites/apps where GETS are not idempotent or have side-effects? What about server-side analytics/logs tracking HTML downloads?
Re:Show HN: Make your site’s pages instant in one minute by anoncake on Saturday February 09, 2019 @12:05PM (#19123342)
> What about poorly-coded websites/apps where GETS are not idempotent or have side-effects?

They're already broken, exposing that is a good thing.

Re:Show HN: Make your site’s pages instant in one minute by lwansbrough on Saturday February 09, 2019 @12:17PM (#19123413)
Breaking the web is not a good thing. Regardless of how you think things should be done.
Re:Show HN: Make your site’s pages instant in one minute by anoncake on Saturday February 09, 2019 @05:04PM (#19124938)
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 by yoz-y on Saturday February 09, 2019 @06:11PM (#19125299)
Like mentioned in another comment, if somebody used a GET http link to logout from a webpage, you would end up with a ton of surprised users. People who read articles by highlighting the text with the mouse would also probably hover over all of the links and would end up wasting bandwidth for no reason.
Re:Show HN: Make your site’s pages instant in one minute by anoncake on Saturday February 09, 2019 @06:41PM (#19125429)
> if somebody used a GET http link to logout from a webpage,

If you violate the standards, your website doesn't work. Who knew?

> People who read articles by highlighting the text with the mouse would also probably hover over all of the links and would end up wasting bandwidth for no reason.

"For no reason" is obviously wrong, making the web snappier is a reason.

Maybe browsers should only prefetch links on bloated websites since their owners clearly don't mind wasting bandwidth.

Re:Show HN: Make your site’s pages instant in one minute by lwansbrough on Saturday February 09, 2019 @08:47PM (#19125918)
This is just an ignorant response. The history of the internet is littered with pragmatic solutions to standard vs. non-standard approaches for exactly these reasons. See: <image>, Referer header, the HTML standard as a whole.

By the way, if your standard contradicts a popular methodology, it's probably a bad standard.

Re:Show HN: Make your site’s pages instant in one minute by anoncake on Tuesday February 12, 2019 @03:57PM (#19147414)
> By the way, if your standard contradicts a popular methodology, it's probably a bad standard.

You can't assume a methodology is good just because it's popular. That's how you get cargo cults.

But if a methodology violates the standards, it's almost certainly bad.

Re:Show HN: Make your site’s pages instant in one minute by m1sta_ on Saturday February 09, 2019 @02:21PM (#19124046)
Vulnerable isn't broken