181 points · by pseudolus · 5y ago · 230 comments
- It's really nice and maybe unprecedented to have an alignment of business, user, eng, and seo goals. Google is using it's monopoly to change roadmap priorities across the industry. The web vitals themselves are unquestionably good for the user.
- Google's guidance on how the scores work and when changes will be incorporated into rankings / carousel eligibility has been overall poor. The info is out there but changes constantly and comes from myriad sources.
- Similarly, the way these scores are measured are a bit of a secret sauce. It's impossible really to model user behavior / devices in a way that ensures you will hit your performance targets. Google provides a lot of tooling/instrumentation, but the measurements sometimes conflict with one another.
I could go on. I'm the mst senior FE guy at this company and it's really consumed most of my work hours since last June, but that's kinda par for the course in publishing. Google swings it's weight around and publishers react.
Google ; New Breadcrumbs issue detected for site xxxxx 24 Jun 2021•Breadcrumbs
So I look into it, knowing I'd fixed that ages ago....
Google ; Last crawled : 13 Nov 2019
Triggering stuff because you eventually got round to looking at it 19 months later? and it's all like that full of massive holes that make zero sense.
Google; "This product doesn't show how many reviews it has"... Me; "It has no reviews" Google; "ERROR! ERROR! ERROR! ERROR! zero is not a valid number!!!!" Me; "Fuck you Google" Google; "This product doesn't show how many reviews it has"...
I'm not even going to get into how shitty pagespeed insights is* - it's not even close to lighthouse. It tells you to increase your caching but doesn't use caching in performance measurements. I presume google has a giant ass that it pulls most of the figures out of on each run. I live in an area of the UK with one of the worst mobile phone signals known to man, pages load in < 2 seconds google consistently claims at least double.
I really don't enjoy spending hours of my days having to check that Google haven't moved the goalposts yet again.
* I lied, I am.
Fast pages are good, but Google is using their tools like Page Speed to push you to adopt Google’s ideas of fast, like using WebP for images. So now you might have a bunch of cruft in your page to support multiple image types.
Also, as user, I hate lazy loading. I can scroll faster than images load. I’d rather everything load in the beginning, and have images there as I scroll.
Lazy-loading can be implemented sloppily, but browser-native lazy loading is now good enough to be considered optimal.
The problem is that Google Page Speed dings you for not having lazy loading, and people add crappy JavaScript lazy loading that satisfies Google, but makes the user experience worse.
WebP is good iff it improves rendering times (which it does). That's not google's fault really.
The problem has been, until recently, Safari didn't support WebP, so you had to implement a fallback to jpg. More complicated HTML, more images to compress and manage, all for a very marginal improvement.
its look at any site in chrome dev tools.
I assume that those sites will vanish quickly though.
"Lazy loading" interactive content is an entirely different thing.
Shopping pages with tons of product images, Infinite scroll (yuck) are different...
That's at least with the HTML5 async image standard in Firefox. It's up to the browser after all, so if yours loads images too slow the issue might be there. And sure, if the images are huge they will take a long time to load, but that's also covered by the core web vitals.
A site I built a while ago is a good test case for that imho, https://www.sustaphones.com/. Long list, many small images, loaded from a CDN. I can maybe provoke a flicker with the scrollbar, but not with regular scrolling.
Edit: That's for broadband. With a 56K modem or something that's of course a different story. But loading a bunch of images in advance on the modern web is also not a good option then.
Your test case is totally meaningless, the images are under 3kb. Full (non-lazy) image loading is far more important on websites with lots of large images.
The typical WordPress lazy loading script doesn't start loading the image until it is scrolling into view. Try a typical food blog, scroll moderately slowly and you'll still get to see every single image load.
edit: your example works great, but is in outlier in the implementation, and benefits from tiny images that load quickly.
Which of course you can only see weeks in retrospect.
Or to take it further, it's still nearly impossible to use google's tools and determine that a particular DIV or Ad is causing damaging shift _in aggregate_.
Worse, it's impossible (and probably will always be) to tell the dollar value of getting all the web vitals to "green". They are pretty agressive targets for most publishers I think, but it's unclear exactly how much these fixes are worth (in additional traffic, seo performance, carousel inclusion, etc).
This is a bit "the nature of the beast" when dealing with Google rankings, their most valuable corporate secret, but still, this is a big, hard, expensive job, with relatively clear inputs and measurement, but with totally opaque outputs / ROI.
Having "page performance" as a non-trivial weighted factor in how pages are ranked just makes sense to me.
Even if CWV is somewhat flawed, I'd much rather optimize for that than give control of my pages to Google ala AMP.
[1] https://support.google.com/webmasters/answer/9205520?hl=en
This means that your hand-coded-in-vim static pages will rank near the top.
I use a somewhat hand-coded-in-vim approach, but there's some post-processing that adds width/height attributes to <img> tags which mitigates this particular problem.
Edit: Not sure why everyone is telling me to add "height" and "width" attributes, because that's what I wrote in the comment, above. Just to explain how this works--the width and height attributes describe the "intrinsic size" of the image.
The CSS sizing will still take precedence but the height/width attributes let the browser know the aspect ratio without having to download the image so it can layout the page faster.
Those are used to determine the aspect ratio, so even when resized via CSS the browser knows how much space to reserve in the layout.
It's surprisingly hard to set up good images in a hand-coded-in-vim website. You're supposed to include multiple image sizes and set up the code for loading each in HTML. So what could have been simply adding an <img> tag now turns into a chore involving ImageMagick.
I know this is only orthogonal to AMP, but it sounds like the kind of thing Core Web Vitals was meant to disincentivize.
I've also noticed that particular bit of irony. In fact it's the longest-running CLS issue I've seen anywhere.
Just another veiled article criticizing Google's dominance rather than a technical one.
There has to be a way of prioritizing some of these sites over others. Same goes for sports, celebrity/gossip, news, etc. That would be most of the open web right there.
Google also moved to mobile-first indexing some years ago. Was that unfair to mom-and-pop shops that didn't have a responsively designed site? Perhaps, but if the website is something that brings you business, it's a tool that should be sharpened when dull, and replaced when its rusty.
Those that display fewer ads and trackers? Many people would like that but somebody would really not.
I have a gigabit connection, so it is not a question about not downloading fast enough, I can browse wikipedia this way. It is a matter of not using so much javascript.
Core Web Vitals, as a publisher myself, are a nightmare. But at least we know what goes wrong as it's clearly laid right in front of the developer's eyes. So we go and fix thing after thing. And some pages just won't get fixed because of some ads.
The point is CWV do make the web better. Those vital metrics are actually making sense (CLS, LCP).
I understand the reticence and reserve at who is behind both these efforts that AMP and CWV are, but they forced me to make my websites faster, cleaner.
Was it a panicky few months trying to get this sorted? Yes. Did we have to speak to ad networks so they fix up some ad delivery? Yes. Will Google really rank us better thanks to that? Maybe. Couldn't we have done it from our own accord? The incentive wasn't big enough I guess.
But today, the fact is, the experience on all of our websites is very much clearly improved.
This makes me wonder if the choice between leaving in ads that lower page rank due to CWV and removing some ads to get a better page rank will lead to less advertising overall. I can only hope, I guess.
Waiting once is fine; waiting two times means I can't do something else while it's loading
How? No user has ever chosen to open a link as AMP.
Web developers don't suck at making fast websites. Publishers demand tons of ads and tracking scripts. If the person signing the paychecks wants the page to have 15MB of sketchy third-party JS, then the page will have 15MB of sketchy third-party JS. AMP succeeded because Google brandished a stick that publishers cared about more: exclusion from the Top News carousel.
I'd also note that the whole reason this ad tech explosion even happened is a race to the bottom that Google itself facilitated. Google is selling us solutions to a problem that Google had a huge hand in causing.
You can at least push back on the product somewhat, or use something like Segment to fan-out. But once Marketing gets GTM in place, all bets are off - they're doing god knows what to the site/application, completely outside of the purview of the usual engineering process, because they can inject whatever they hell they want into the page.
GTM is essentially a backdoor but it gets a pass because marketing.
Web devs emphatically, and by definition, do not suck at developing websites.
I was asked by management to add Google Tag Manager to the company site. When I saw that GTM included 15-20 tracking scripts I told them that unfortunately we can't include it until we have ensured that all of them act in accordance with GDPR. Legal was involved and agreed. Marketing gave up.
You're technically correct, but people who write pay checks often can be argued with. They often don't want to be on record taking decisions which can cause issues, and legal typically don't want to sign of on including 15MB unknown scripts on your site accepting credit cards.
That's true, but the proliferation of ad tech junk is strong evidence that this is the exception rather than the rule. Capital will persuade labor to do its bidding far more often than not.
Or are we going to talk about how online advertising has been the economic backbone of the web? Not that I'm advocating for it, by hiding the true cost of things, publishers have brought this onto themselves really.
So no more ads? That's probably going to kill a lot of sites, whether they are contributing anything to mankind or not.
Like @djtriptych I do a lot of work on a major brand sites its poor FE design and implementation.
Sorry but I don’t think that’s “worse” than AMP at all. Google was in charge of that and it hijacked URLs.
Clickbait.
Why not just use overall page size and ttfb instead of this nonsensical metric that isn't a great measurement, in my experience, of website performance/user experience; outside of keeping everyone guessing what Google might do next, what's the point? I also find it extremely ironic that many of Google's own products are complete failures on the metric.
I've even found that you can trick the metric by essentially loading a blank page where a browser will feel the page is fully loaded, then having a delay that loads the page.
But there's a metric specifically for measuring load times. https://web.dev/lcp/
Did no one in Ads team get the memo to optimize performance?
They were too busy raking in the billions.
So an even more disproportionate amount of site performance work will now be focused just on what makes Chrome happy. Experimental Chrome features that boost performance metrics will be embraced in the name of SEO. Safari and Firefox can't offer that.
It's another way Google uses their control of the search market to cement their browser as the de facto standard.
For example, don't hire people from Region A because they can't access the best resources located in Region B.
And if they did, what do you think the public reaction would be to such data sharing?
The real problem here is not 'gamed search engines' but too much centralisation, with Google owning the search engine, the browser, and the ad platform. This solution makes that problem worse, not better.
It's like I've fallen into a crazy parallel dimension. For more than *five years* HN commenters have been ranting about how AMP is not needed, and all that's needed is using page speed as the signal. And now when that happens, it's suddenly an outrage.
Easy. Google should not be operating the monopoly search engine _and_ the monopoly web browser. They need to spin off search or Chrome as a separate company. Then they can source their data from wherever they like. Then every browser is an "other browser".
Second, you wouldn't complain that it's an unfair advantage to pages in the Google AMP cache, due to a better network location? An unfair advantage to pages hosted on GCP? An unfair disadvantage to iOS due to there being no iOS server hardware that could be used for testing?
But yes, I think it's plausible that other browser makers could allow users to opt in to this sort of data reporting. It would lead to a more equitable web.
I'm also not totally convinced that page performance should play a significant role in rankings in the first place.
I worry that if core vitals becomes too strong of a signal it will over homogenize things to the point that we’re further ostracizing parts of the web that aren’t built like fast results pages to get an answer and bounce off of. We need more differing alternatives to Google.
Just change the algorithm to reward fast websites even more.
If page speed currently counts for say 5% of a site's value in the algorithm, bump it up to 10%, 15%, 25% etc, whatever it takes until sites that pump in piles of garbage JS trackers and monstrosities start removing that stuff.
Sites that insist on leaving in garbage trackers and bloated designs will not show up as much. Problem solved without dictating technology.
> Unfortunately, there are problems with AMP's replacement as well. And those problems go right back to what was wrong with AMP in the first place: Google is in charge of it.
So the problem isn't core web vitals nor AMP itself, but the fact that everyone uses Google and they control the results on google.com.
We can now go back to our regularly scheduled discussion about how this is bad.
Some people are so deeply lost in their hatred of AMP that they cannot even consider for a moment that maybe, just maybe, AMP actually does work well for some people.
I'm glad it's no longer required, and if people are correct that AMP truly sucks, then surely it'll slowly fade away over time.
Of course you can over engineer anything, but why would you when [almost] everything you need is easy to grab a la carte.
Also, I'm not sure this is well known, but if you navigate to a web page from the carousel, Google traps the left and right swipe events on YOUR page. Either sends to user to a competitor. That's a pretty big compromise you would only make because the traffic boost from the carousel was worth it.
- no JavaScript
- you get 100kB for HTML and CSS
- all decorative and non-essential images are included in those 100kB
Happy hacking!
My assumption is that AMP is most heavily used by news organizations because of the requirement (recently rescinded) for carousel placement. Anecdotal, but I've talked with people at these organizations, and they definitely don't like AMP. They tolerate AMP solely for the carousel placement. That requirement is gone now. But, given the low margins in those places, it may be some time before they migrate off.
It feels like we read different articles, because the in one I read the author spent a lot of time explaining that AMP would probably be around for a while for a number of predictable reasons.
You must be a mind reader, then, because nowhere in the article does the author state or imply that. Indeed, they go out of their way to point out why it's unlikely in the extreme that any publisher will bother, and points out why that's essentially a victory for Google -- indeed this might be the essential point that the author is making in this article.
The idea that PSI preloads the page before starting the test doesn't make much sense at all, and doesn't mesh with my own experiences (in the same space).
*In reality, about 1% of human knowledge, by some estimates.
https://developers.google.com/search/blog/2020/11/timing-for...
http://www.earth.org.uk/note-on-site-technicals-49.html#2021...
HTML is not bad and it is easier to parse than markdown, the trouble is javascript and the ways ads abuse them. Strip that out, set the size of images and you can create a better experience for your users without changing all browsers.
However if we can get wild requests for new content types, then I would love text/latex, so that I could create a website that fits the real size of your browser and render a gorgeous output.
In the last decade, I’ve seen browsers drop content types (FTP) and adopt media formats (WebP). But no new publication formats. If my browser can render PDF, why shouldn’t it render Markdown?
The power of the web lies in its decentralisation,
it lies with its messiness, it lies with its edge
nodes – that is, with you and me.
The only reason I've ever seen a news site take more than 2.5s to load was when it was stuffed to the gills with adtech and trackers; caping for them is literally the _opposite_ of "the spirit of the web".