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.
Show HN: Make your site’s pages instant in one minute
131–140 of 361 posts
Re: Show HN: Make your site’s pages instant in one minute
#132Can I use this for static pages
Re: Show HN: Make your site’s pages instant in one minute
#133Also, how this can be free? I thought CloudFlare was charging workers based on number of requests.
Re: Show HN: Make your site’s pages instant in one minute
#134Earlier 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.
Re: Show HN: Make your site’s pages instant in one minute
#135Earlier 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.
Re: Show HN: Make your site’s pages instant in one minute
#136Many 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…
Re: Show HN: Make your site’s pages instant in one minute
#137Earlier 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?
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
#138(My apologies if this question has already been raised)
Re: Show HN: Make your site’s pages instant in one minute
#139How does this work on devices with touch screen? (My apologies if this question has already been raised)
Re: Show HN: Make your site’s pages instant in one minute
#140I'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.