Live data from Hacker News

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

instant.page

91–100 of 361 posts

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

#91
post #52

Earlier quoted context omitted.

The analytics should only be triggered is the page is rendered, assuming it's done client side. I believe Google does this for first top 3 results if I'm not mistaken.

Good point. What would be a good way to avoid prefetch requests in your analytics if you only derive analytics from server access logs?

You could obviously do it with JavaScript by pinging the server to tell him that log entry X is to be promoted to a true "hit".

For a non-JS solution, I guess an tiny iframe at the bottom of the html page that accesses a special server page with an unique stamp that causes the same "hit". the iframe loading would mean that the rest of the page is mostly loaded before it was closed.

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

#92

Embedding via // without explicit SSL should probably be considered harmful or malicious as there is no reason to make such scripts available without SSL. Even if the end website is not using SSL users can still fetch your script securely.

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?

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

#93
post #72
post #9

This is very nice idea, but isn't the problem initial liad time most of the time? How could we solve that? Does this also work for all the outgoing links as well? I don't want to improve other sites rendering time at the expense of my own. Very cool regardless.

>but isn't the problem initial liad time most of the time? How could we solve that? Off the top of my head, a good way seems to be to write better sites that don't include 10mb of javascript libraries.

[deleted]

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

#94

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?

[deleted]

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

#95

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.

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

#96
post #67

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…

If you need people to design their websites around your companies HR metrics collection for them to work, then your HR department's metrics are the problem. The easiest way to improve productivity at your company could be to drastically cut HR funding, maybe HR should collect some metrics on how much time HR spends building datasets that aren't accurate.

I don't think it's a matter of HR necessarily. HR has guidelines because a lot of their job has to do with compliance. Big companies absolutely need large HR departments because a lot more regulations apply.

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

#97

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…

You should find a different company to work for.

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

#98

Earlier quoted context omitted.

Jesus. I hope they pay you well for that. I've heard a lot of stories of ridiculous rule-by-HR culture, but that's so extreme it sounds made up.

The part about viewing family.html seems kind of understandable. If you assume no bad actors, then it's crazy... But we're all developers here, we know that you have to assume the existence of bad actors, and assume that they are going to target you (which is why we you always validate data client data server-side). I could see how viewing family.html could turn into a real headache for HR/Legal, especially if the la…

[deleted]

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

#99

Earlier quoted context omitted.

The heuristics to exclude logout links and the like would be very disruptive. Those decisions need to be in the website author's hands. However, I think if browsers had this, but off by default until seeing tags to enable it along with any exclusions, that would be great.

I think it would only prefetch GET links, which never have side effects.

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

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

#100

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…

One of my biggest career goals is never to work in a company like that. A company that micromanages me to the point they search my fucking internet history to decide my termination doesn't deserve my technical skills.
Post reply on HN