Live data from Hacker News

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

instant.page

221–230 of 361 posts

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

#221
post #209

Earlier quoted context omitted.

Compression and caching makes any minification of small scripts more than negligible.

Minification is free and is done only once. In our case, the script is .9kb compressed (2.9kb uncompressed). When minified, it goes down to .6kb compressed (1.1kb uncompressed). It’s a small improvement, but there’s no reason to ignore it.

Saves over 50% of bandwidth ... "it's a small improvement". ^_^

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

#222

Live 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…

nothing on my network tab in ff 65.0

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

#223

"49 ms from hover to click" -- I guess I'm not exactly the target audience... However, I find it very good the posted snippets include SRI, which sadly to this day almost every script CDN omits. The code is also small enough to just include it in projects, which avoids the external request entirely.

I thought that as well, but then I realised that I was literally moving my cross over the button and clicking as fast as I can. Thats not how I usually browse the web. I move my cursor usually where I am reading, which includes links, so I am hovering over it before I have decided to click it

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

#224

Earlier quoted context omitted.

> 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.

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

#226
post #182

It 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…

I am not sure if the clicking speed button is supposed to preload, or if its only intended for you to figure out your speed.

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

#227
post #222

Live 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…

nothing on my network tab in ff 65.0

ditto. It works on Chrome though (sigh)

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

#228

Earlier quoted context omitted.

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.

OP’s point was that logout should not be implemented with a link/GET but instead with a button/POST for exactly this reason.

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

#229

"49 ms from hover to click" -- I guess I'm not exactly the target audience... However, I find it very good the posted snippets include SRI, which sadly to this day almost every script CDN omits. The code is also small enough to just include it in projects, which avoids the external request entirely.

I thought that as well, but then I realised that I was literally moving my cross over the button and clicking as fast as I can. Thats not how I usually browse the web. I move my cursor usually where I am reading, which includes links, so I am hovering over it before I have decided to click it

I usually move the cursor out of the way, because I dislike it covering text or images. So when I do click on something I actually move over there and click immediately. How fast that goes is pretty much the textbook case of Fitts' law.
Post reply on HN