News for hackers. Stuff that matters.
Re:Mobile Website Speed Testing Tool by BugsJustFindMe on Tuesday January 10, 2017 @04:51PM (#13369447)
I ran it on a tiny static 99.9% text-only site that finishes loading in 0.15s, a full 0.1s of which is a 1.5KB creative commons graphic, and google knocks 9 points off on mobile because I don't defer the 8ms request for 374 bytes of CSS? Seems arbitrary.
Re:Mobile Website Speed Testing Tool by chrischen on Tuesday January 10, 2017 @06:11PM (#13370139)
Especially arbitrary when considering their own website gets points knocked off: https://testmysite.thinkwithgoogle.com/

They remembered to cover Google.com (it gets perfect scores), but forgot the testing site itself.

Re:Mobile Website Speed Testing Tool by erelde on Wednesday January 11, 2017 @05:38AM (#13373016)
The site itself is an abomination on a low end pc. That thing lags, drop frames, etc.

And it pretends to have a better score than a static html page without any ressources.

Re:Mobile Website Speed Testing Tool by blauditore on Wednesday January 11, 2017 @07:13AM (#13373387)
I only see 79/100 mobile friendliness for google.com (tried two times with same results).

The screenshot shows some text among the lines of "We're sorry... ...but your computer or network may be sending automated queries. [...]". It looks like some kind of abuse/DoS protection was triggered.

Re:Mobile Website Speed Testing Tool by galfarragem on Wednesday January 11, 2017 @05:26AM (#13372971)
Youtube gets 54/100 on mobile speed and 70/100 on desktop..
Re:Mobile Website Speed Testing Tool by mankyd on Tuesday January 10, 2017 @04:56PM (#13369495)
PageSpeed, which this is based on, uses a relative metric last I checked. I.E. If you have a 2 byte site and can remove 1 byte, you'd get ~50 points off.

It's not quite that simple, but that's the basic idea.

Re:Mobile Website Speed Testing Tool by dazc on Tuesday January 10, 2017 @05:47PM (#13369945)
Sadly, I think, it is that simple.
Re:Mobile Website Speed Testing Tool by markdown on Tuesday January 10, 2017 @05:19PM (#13369726)
> 374 bytes of CSS

Put it <style> tags in the <head>. No reason to use an external file for so little. It's not worth the overhead.

Re:Mobile Website Speed Testing Tool by BugsJustFindMe on Tuesday January 10, 2017 @07:04PM (#13370533)
Counterpoint, there's no reason to uglify something simple and clean by copy-pasting CSS into it to just to shave the remaining hairs off the dog's balls* when we already have a nice interface for read-once-use-everywhere references.

* - I don't know if that's a real expression. It doesn't even seem to fit, but I like it so I'mma keep it.

Re:Mobile Website Speed Testing Tool by SahAssar on Tuesday January 10, 2017 @05:40PM (#13369886)
If it's on http2 and/or preloaded that certainly isn't true.
Re:Mobile Website Speed Testing Tool by dwrowe on Tuesday January 10, 2017 @05:29PM (#13369793)
That's certainly true, but to his point - it's an 8ms call - is it worth the number of points Google knocks off?
Re:Mobile Website Speed Testing Tool by TheAceOfHearts on Tuesday January 10, 2017 @07:31PM (#13370701)
What size cutoff would you use for the <style> tag? In other words, at what point is the tradeoff worth it?
Re:Mobile Website Speed Testing Tool by jansenv on Wednesday January 11, 2017 @01:59AM (#13372286)
Re:Mobile Website Speed Testing Tool by markdown on Wednesday January 11, 2017 @10:08PM (#13379551)
I do it for sizes less than 10KB (completely arbitrary) for most websites because the fact of the matter is that most websites don't get repeat visits often, and visitors rarely visit more than the page/article they arrived at.

There's no point making all visitors cache a CSS file when only a tiny minority will need it.

Note that I live in the middle of the Pacific Ocean, so HTTP round-trip times are terrible for most users. If you're on a first-world connection, it shouldn't matter as much.

Re:Mobile Website Speed Testing Tool by ryanworl on Wednesday January 11, 2017 @07:56AM (#13373583)
It doesn't necessarily have to be about size. The goal is to let the browser paint the above-the-fold content without any external round-trips. Using the least possible seams sensible, especially if you do it on every page. This lets caching work as intended for the majority of the CSS.
Re:Mobile Website Speed Testing Tool by dazc on Tuesday January 10, 2017 @05:47PM (#13369944)
This is exactly why I stopped using page speed insights for testing. The last time I used it, which was at least a year ago, I was losing points for serving too large an image file size on mobile. Only problem was I use converting to webp 'on the fly' with mobile browsers.

I could kind of get it if webp was an apple or ms solution but it isn't??

Re:Mobile Website Speed Testing Tool by seanwilson on Tuesday January 10, 2017 @07:41PM (#13370749)
> Seems arbitrary

It's always going to be arbitrary to have an absolute measure given the diversity of sites. Large/slow images are going to be normal for photography sites for example but worth knocking points off for coding sites. You're better off using it as a relative measure to see if the same site is improving when you make changes.