Live data from Hacker News

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

instant.page

131–140 of 361 posts

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

#131

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…

The second hn item today that made me agree that developers need a union. I always let my team browse Facebook, if they wanted. One of my top people browsed it the most out of everyone. If you block a page, then they will just use their phone. If you are going to measure, then measure outputs. Measuring inputs will make you and your team equally unhappy.

Measuring Output! Especially true for which their job require more thinking than actual labour. It doesn't matter how much time he spent on it, as long as it gets done. And more often, you actually need to play a game, relax or something different before coming back and solve the problem in seconds as compare to staring at it for hours and not getting anywhere.

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

#134

Earlier quoted context omitted.

The example snippet uses SRI [1], so there's no security issue with plain HTTP. [1] https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

It's not supported by IE.

IE doesn't support script type "module" anyway, so it'll ignore the script tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sc...

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

#135

Earlier quoted context omitted.

You're typing this comment on a site that has a GET link to logout.

This phrase "GET link" I keep seeing makes sense, but strikes me as odd. Is that to differentiate from an "a" tag that triggers JS that makes a fetch/xhr with another method? The only non-JS non-GET request I'm aware of is a form action (POST by default, GET if specified) which can hardly be called a link, unless I'm wrong to equate link with "a" tag.

Form actions are actually GET by default (think search forms). You need to explicitly use for a POST form.

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

#136

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…

Sounds like prefetching is good for you, since greater prefetching provides greater plausible deniability.

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

#137
post #89

Earlier quoted context omitted.

The downside is that your pages’s HTML are loaded twice as much, this makes for additional load on your server. Client-side analytics like GA aren’t affected.

> The downside is that your pages’s HTML are loaded twice as much How? It would load the HTML just as often and not download it a second time as that would invalidate the usage > this makes for additional load on your server. True for users who hover over links they decide not to visit Or am I misunderstanding something here?

> How? It would load the HTML just as often and not download it a second time as that would invalidate the usage

I'm guessing you didn't read the linked article? It preloads after 65ms on hover, at which point it estimates a 50% chance that the user will click. Hence "loaded twice as much".

> True for users who hover over links they decide not to visit

Yes, that's the point.

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

#140
This is really impressive! I noticed the script uses `const` and `let` which might cause javascript errors in older browsers (https://caniuse.com/#search=let) so I ran it through the Google Closure compiler to compile it down to ES3 and it works great. https://closure-compiler.appspot.com/home

I've added it to my blog and a Django side project. Really speeds up page loads. Just need to add `data-no-instant` attribute to the logout link.

Post reply on HN