News for hackers. Stuff that matters.
Re:I am a fast webpage by rtpg on Thursday September 08, 2016 @01:33AM (#12450517)
Google doesn't do this on their more full-featured apps like G-Mail or Google Docs. Docs ships a bunch of files and stylesheets.

Search works well because they have relatively few features to support by default (for things like the calculator I bet they ship that in with the response).

Re:I am a fast webpage by ebalit on Thursday September 08, 2016 @02:44AM (#12450782)
I think it's implied that these advices are for content pages, for the "old web", and not for single page apps.
Re:I am a fast webpage by totalcrepe on Thursday September 08, 2016 @03:58AM (#12451100)
HN is neither of the two and IMO represents where people spend most of their time.

I think Google's CSS embedding is terrible advice for the meaningful web, but logical advice for adwords landing pages or sites with content so bad or sparse you wont be navigating them.

Re:I am a fast webpage by aruggirello on Thursday September 08, 2016 @05:14AM (#12451428)
HN has a purposely minimalist stylesheet / layout, with NO icons (except the one Y on the upper left corner), NO images or other media, NO fanciful animations.

Not all websites can do without all of that - imagine a photography site, or an e-commerce site, etc. without pictures?

I agree though that this is great advice for landing pages; load times are probably among the reasons of most bounces.

Re:I am a fast webpage by coldtea on Thursday September 08, 2016 @07:26AM (#12452013)
>Not all websites can do without all of that - imagine a photography site, or an e-commerce site, etc. without pictures?

No, but I can imagine an photography site, or an e-commerce site without useless non-content pictures and shit-loads of CSS and JS.

Re:I am a fast webpage by totalcrepe on Thursday September 08, 2016 @05:32AM (#12451500)
Yes, and HN is in violation of Google's performance guidelines for putting those sensible rules in a sensible place.

> Not all websites can do without all of that - imagine a photography site, or an e-commerce site, etc. without pictures?

How does HN's CSS enforce a ban on img elements in pages pointing to a photo's canonical location? Or preclude putting your standard frames into it?

Imagine a photography site where no photo link is shared across any pages (but 90 page base64 encoded URLs are repeated randomly), an ecommerce site where a product is shown in a strange new light at every step in the checkout process using a mishmash of entirely different CSS.. Google's advice is approving the most idiotic behavior on sites that are barely keeping their head above water in terms of technical understanding, letting them hold onto strange ideas because they are "fast."

Re:I am a fast webpage by nailer on Thursday September 08, 2016 @08:40AM (#12452396)
> I think Google's CSS embedding is terrible advice for the meaningful web

HTTP2 allows CSS to specified in the HTTP header. However Google AMP doesn't support it yet.