8 ms·
Web Vitals: essential metrics for a healthy site
- speedgoose 7y agoThe images are cut on mobile.
- splitrocket 7y agoLayout Shift is one of my biggest pet peeves. Especially in search interfaces.
- SketchySeaBeast 7y agoOf which google is a prime offender. 20 minutes ago I repeatedly clicked a google ad because my search goal was there just before it popped in.
- anderspitman 7y agoIs there a name for that little suggestion box that slides into place, and more importantly is there a way to turn it off? I've trained my self to wait a couple seconds before clicking on links because it's popped under my cursor so many times.
- ken 7y agoI wrote a CSS rule to hide it, and the Google changed their DOM structure so it broke. Then I updated my user stylesheet, then they broke it again. I don’t have the energy to continue, so I’m left with that classic software dilemma: good underlying technology, or good UI.
- CM30 7y agoMakes you wonder how much money Google (and sites running ads in general) make due to people doing that. I'm sure quite a few people must accidentally click on ads they didn't mean to clik on due to that shift.
- eitland 7y agoYou might in the B group of an A/B test. This happened to a colleague of mine not that long ago and I told him the trick is to report just about anything using the feedback tool and observe the most crazy bugs disappear in less than an hour as you get reassigned to tve A group ;-) Another educated guess is a plug-in. I might have seen plugins that seems to optimize for ad click through by adding elements to move the ads just under yiur mouse pointer.
- leepowers 7y agoHappens to me all the time with ads loading when reading an article on mobile. Very annoying!
- dmitriid 7y agoWhat good are all these metrics, and measures, and approaches, and techniques when Google's own websites en masse wouldn't give two craps about them? Physician, heal thyself.
- Guest0918231 7y agoI just loaded a few Google services I use. AdSense takes 6 seconds to load. DoubleClick takes 10-15 seconds to load. Running a speed test on fast.com I'm getting 200Mbps. Without question Google makes the slowest and least responsive sites I use. It's like the 600lbs man giving tips for staying in shape and living a healthy lifestyle. When they have a nearly unlimited budget and access to some of the best engineers and infrastructure on the planet, and they can't practice what they preach, it's difficult for me to listen.
- anderspitman 7y agoSwitching from Google Analytics to GoatCounter[0] was one of the best decisions I ever made for my personal site. I hadn't realized that the slowness of GA was keeping me from using it. The UI of GC is so fast that I often check it for fun, even on my phone. [0]: https://www.goatcounter.com/ https://www.goatcounter.com/
- kaycebasques 7y agoAre you referring to the AdSense and DoubleClick websites?
- brlewis 7y agoWhy shouldn't they reach out to the public at the same time as reaching out to the rest of Google? It's a huge organization.
- slig 7y agoThese metrics are good because your users care, and you can lose money if they leave, and that's why you should care.
- 7y ago
- compacct27 7y agoThese are great, but increasingly none of our web app's performance issues relate to any of these metrics. Memory leaks, slow typing, UI interactions like opening a modal that shouldn't be taking 8s+, where's the literature on how those affect user satisfaction?
- dflock 7y agoThere is copious, voluminous literature stating that users hate slowness in all it's forms?
- compacct27 7y agoI believe it, but I mostly hear about how user retention drops off if the website takes more than 1s to load. And while I believe other types of slowness make users unhappy without seeing the literature, the people driving our priorities don't see the $ impact at all
- gumby 7y agoI hate slow sites and am pretty aggressive about bailing on anything that I consider slow. But speed is a visitor's feature, not a benefit. The benefit (to the web site operator) of an ecommerce site is $ spent by visitor. So for example yes, the Amazon site feels slow and bloated, but they've been doing live A/B testing for over 20 years and I'm pretty sure they don't care about speed unless it affects conversion; they'll be happy to cram something in even if it slows the site down, if it increases revenue.
- SamReidHughes 7y agoAmazon seems pretty darn fast to me. You click and stuff happens. It's faster than Twitter or Github (the first two sites I compared it with).
- superkuh 7y agoYour site is already unhealthy no matter what because it's not a website. It's an application that just happens to also use http and browsers.
- deleted 7y ago[deleted]
- tobr 7y agoGreat, three new TLAs that people will soon be throwing around in Medium posts without defining them.
- henriquez 7y agoThese are useful performance indicators for sure, but I don't understand how these are different than the metrics already built into Chromium's "Lighthouse" page speed audit (the "Audits" tab in the inspector). Is the difference now that they will be more heavily weighed in search engine ranking? The article wasn't super clear on this, and the explanatory links seemed to push towards drinking a lot of Google kool-aid (eg. to measure the Core Web Vitals you must use Chrome UX report, and to do that you must use Google BigQuery, and to do that you must create a Google Account _and_ a Google Cloud Project. Wow.) On closer inspection this whole thing is just a thinly veiled advertisement for GCP. No thanks.
- cramforce 7y agoLighthouse is a lab-metric system while Web Vitals is a "real-user-metric" system. Both approaches are valid, and have their pros and cons. Generally, lab metrics are convenient because you can run them whenever you'd like including before deploying to prod. But they can never tell you the ground-truth of what is really happening out there that real-user-metrics provide. E.g. the FID metrics only make sense when someone actually interacts with your site. Lighthouse cannot know when people would interact and thus cannot calculate the metric.
- kaycebasques 7y agoIn Google documentation you'll hear this distinction described as "lab data" versus "field data": https://web.dev/how-to-measure-speed/#lab-data-vs-field-data https://web.dev/how-to-measure-speed/#lab-data-vs-field-data
- henriquez 7y agoThanks for the clarification, that makes sense. It is ironic that the vast majority of these performance issues are caused by render-blocking and CPU-sucking JavaScript, and so the recommended approach is to install yet another client side JS library (https://github.com/GoogleChrome/web-vitals/ https://github.com/GoogleChrome/web-vitals/), which appears to only work in Chrome, and then use the library to post client side performance data to Google Analytics (though to be fair it could be any analytics). "How badly are all your JS libraries slowing down your page? Find out with this one weird JS library!" This seems like one of those things where if you get to the point where you need this, you're already in too deep.
- masswerk 7y agoIronically, the page took more than a minute until first paint on an old iPad. (I even restarted the poor thing, thinking the HTTP stack had somehow died.) Please, mind that not everything is evergreen and that there's not much reason from a user's perspective to put perfectly working equipment to scrap just because devs decide to go with newest standards only. (Think green computing, which includes electronics waste. This also works both ways: a robust implementation is more likely to work in a few years from now on a then newer, probably much different browser engine.)
- nicbou 7y agoTo be frank, I don't care about a 500ms faster site if I spend 15-20 seconds navigating a convoluted GDPR notice, dodging newsletter prompts and looking for a one-line answer in a sea of ads and SEO filler text. I would define essential metrics very differently: - How fast can the users find the answer they are looking for? - What percentage of user interactions benefit the users? - How much information does the website collect about the users?
- ArtWomb 7y agoThis is cool, thanks for shipping! Is Full / Largest Contentful Paint registering WebGL draw calls? My use case is a single page (up to 4K resolution) that contains a single canvas element and 3D context. Time to scene rendered to user is obviously of interest. And any prospect for a full featured WebGL inspector / debugger in future?
- adamcharnock 7y agoThis seems to be failing the X-Forwarded-For validation on my site. I expect one X-Forwarded-For header entry on my (Heroku hosted) site, but requests from the measure tool [1] seem to have two entries in this header. Example log entry: 2020-05-05T23:00:07.144973+00:00 heroku[router]: at=info method=GET path="/en/" host=redacted.com request_id=a0c8605f-e67a-4b48-9538-c6bafebaaaaa fwd="107.178.238.42,66.249.84.103" dyno=web.1 connect=1ms service=4ms status=400 bytes=294 protocol=https Is this expected behaviour? [1] https://web.dev/measure/ https://web.dev/measure/
- jeroenhd 7y agoI don't see why you would only have one of those headers. There are use cases for two proxies to operate (think a corporate proxy + your proxy, or a corporate proxy to a privoxy instance to your proxy, a corporate proxy connecting to a data-saving proxy, etc.). Some proxies like to add these headers by default. Duplicate headers are acceptable in HTTP, so this is all perfectly up to spec. In this case, if your reverse proxy is adding its own header, it should be stripping away the other X-Forwarded-For headers if you so wish, or have the application pick the appropriate header if you wish to receive all of them. This sounds like a misconfiguration issue on your website to me.
- sickmate 7y agohttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Directives https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-... >If a request goes through multiple proxies, the IP addresses of each successive proxy is listed. This means, the right-most IP address is the IP address of the most recent proxy and the left-most IP address is the IP address of the originating client.