Why use this script as an include from the instant.page domain? I think if I'm going to use this I'm just going to serve this script up myself from my own servers.
Show HN: Make your site’s pages instant in one minute
201–210 of 361 posts
Re: Show HN: Make your site’s pages instant in one minute
#202Each 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
Re: Show HN: Make your site’s pages instant in one minute
#203Each 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
#204I 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.
Re: Show HN: Make your site’s pages instant in one minute
#205Re: Show HN: Make your site’s pages instant in one minute
#206Is 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.
Re: Show HN: Make your site’s pages instant in one minute
#207Probably 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.
> "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
#208Re: Show HN: Make your site’s pages instant in one minute
#209Earlier 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.