Live data from Hacker News

Show HN: Make your site’s pages instant in one minute

instant.page

161–170 of 361 posts

Re: Show HN: Make your site’s pages instant in one minute

#162
post #160

Earlier quoted context omitted.

> Just make sure you apply the data-no-instant tag to your logout link, otherwise it'll logout on mouseover. Logout links should never be GETs in the first place - they change states and should be POSTs.

POSTs are not Links. And Logout service is indempotent even if you can consider it changes the state of the system

Idempotency is not the issue, the issue is that a user might hover over the logout link, not click it, then move on to the rest of the site and find they are logged out for no reason.

Re: Show HN: Make your site’s pages instant in one minute

#164

Nice idea for HTTP/1.x, however, isn't this what HTTP/2.0 [1] is meant to achieve by pushing components at the user? 1: https://en.wikipedia.org/wiki/HTTP/2_Server_Push

The difference between the HTTP/2.0 and instant.page is that the preload initiative is on the client, and not the server. I guess you could use both. HTTP/2.0 for linked resources and instant.page to preload based on the user's behavior.

Re: Show HN: Make your site’s pages instant in one minute

#165

Many people browse the web from an employer who has rules about what types of pages may be accessed. For example, a person applying for a job with my team may include a link to a web page about their job-related background -- portfolio.html or whatever. HR tells us to be sure we don't follow links to any other page that may be more personal in nature, such as a page that reveals the applicant's marital status (which…

That story about 'personal' pages sounds like an excuse for tracking what you do on your computer. I'd look for a different job if I were you to be honest. It sounds like a toxic environment to work in.

Re: Show HN: Make your site’s pages instant in one minute

#166
I'm curious how this is better than Google quicklink (https://github.com/GoogleChromeLabs/quicklink) which is something I have active on my site currently. Can someone with more technical knowledge point out which of these two "instant pages" solutions is better?

Re: Show HN: Make your site’s pages instant in one minute

#167
post #160

Earlier quoted context omitted.

POSTs are not Links. And Logout service is indempotent even if you can consider it changes the state of the system

Idempotency is not the issue, the issue is that a user might hover over the logout link, not click it, then move on to the rest of the site and find they are logged out for no reason.

That's exactly the problem with idempotency.

Re: Show HN: Make your site’s pages instant in one minute

#168
post #160

Earlier quoted context omitted.

POSTs are not Links. And Logout service is indempotent even if you can consider it changes the state of the system

Idempotency is not the issue, the issue is that a user might hover over the logout link, not click it, then move on to the rest of the site and find they are logged out for no reason.

Right, which is why the included library includes an HTML attribute to disable prefetch on a given link.

Re: Show HN: Make your site’s pages instant in one minute

#170

Many people browse the web from an employer who has rules about what types of pages may be accessed. For example, a person applying for a job with my team may include a link to a web page about their job-related background -- portfolio.html or whatever. HR tells us to be sure we don't follow links to any other page that may be more personal in nature, such as a page that reveals the applicant's marital status (which…

Is there a novel about this company?
Post reply on HN