Live data from Hacker News

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

instant.page

121–130 of 361 posts

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

#121
post #89

I looked (quickly) through most of the comments below and couldn't answer these questions: 1) What, if anything, is the downside here? 2) Is (Google) analytics effected by the prefetch? That is, does that get counted as a page visit if the link that triggers this prefetch is not actually clicked? Tia

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?

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

#122
I guess nobody has mentioned this yet, but it presumably doesn't work on mobile?

I wonder if you could do something similar simply by looking at the viewport and loading all the links within the currently visible part of the page. Might be overkill though and end up wasting the user's data.

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

#126
post #122

I guess nobody has mentioned this yet, but it presumably doesn't work on mobile? I wonder if you could do something similar simply by looking at the viewport and loading all the links within the currently visible part of the page. Might be overkill though and end up wasting the user's data.

> On mobile, a user starts touching their display before releasing it, leaving on average 90 ms to preload the page.

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

#127
post #122

I guess nobody has mentioned this yet, but it presumably doesn't work on mobile? I wonder if you could do something similar simply by looking at the viewport and loading all the links within the currently visible part of the page. Might be overkill though and end up wasting the user's data.

From the article:

> On mobile, a user starts touching their display before releasing it, leaving on average 90 ms to preload the page.

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

#129

Earlier quoted context omitted.

No! You should NEVER load javascript over https on a page that was served over http. It gives a false sense of security that doesn't exist. Because the source page was served over http, the source page can be modified by an attacker, making the script be loaded under ssl makes you think its protected. But its not since an attacker could just modify the script tag to remove the https bit in transit then modify the scr…

Or just stop using HTTP like a normal person. Who still has pages served over anything hit HTTPS?

     Who still has pages served over anything hit HTTPS?
Someone who wants to explore our emerging financial liability as we grow increasingly compelled by law to actively protect data in transit (that's SSL), at rest, and in distribution.

     Penalties for violations can be huge, as much as 20 
     million euros or 4% of the company's annual turnover.
https://blog.quttera.com/post/gdpr-and-website-security/
Post reply on HN