Live data from Hacker News

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

instant.page

201–210 of 361 posts

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

#202
post #45

Each time you hover over a link it's doing a GET request bypassing the cache (cache-control: max-age), even if you hove the same multiple times. Also this will make all your analytics false... Except that indeed this can improve greatly the user sensation of speed

What's more important - analytics, or the user experience. Damaging stats sucks, but this seems to outweigh that.

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

#203
post #45

Each time you hover over a link it's doing a GET request bypassing the cache (cache-control: max-age), even if you hove the same multiple times. Also this will make all your analytics false... Except that indeed this can improve greatly the user sensation of speed

What's more important - analytics, or the user experience. Damaging stats sucks, but this seems to outweigh that.

Clearly you're not in middle management.

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

#204

I have just added it to a Shopify store to try it and it does indeed speed things up! However I am a little concerned with adding a script from another website... it requires a lot of trust, doesn'it?

As another comment mentioned, you can just host the script on your own site.

Of course.... I was confused with the Cloudflare Workers thing... I just added the code directly to the website and it works fine. Thanks.

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

#205
I also staged it on my blog and it's working awesome http://staging.ahmet.im/blog/index.html . I wonder if CMS tools or static site generators (Hugo, Jekyll, Pelican etc) should have an option for rel="preload". But I guess it still requires some JS for preload on hover, so is this library going to take off now?

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

#206

Is this kind of like turbolinks which Basecamp uses?

Similar in effect, but not in method. Turbolinks fetches pages after a click like normal, but swaps the body tag from the new page into the current page, cutting local render times.

Would it make sense to combine them? Instant turbo links.

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

#207

Probably doesn't work with an agent that doesn't support hover events. Such as on tablets and smartphones.

Did you read the page? It uses touchstart events on mobile.

This comment is against the guidelines: https://news.ycombinator.com/newsguidelines.html

> "Did you even read the article? It mentions that" can be shortened to "The article mentions that."

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

#209
post #19

Earlier quoted context omitted.

It probably should be minified if the whole point is to improve page load times.

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.
Post reply on HN