by gonational · 8y ago · 0 comments
One potential solution that fits the theme of the letter could be logic like this:
MAX = <reasonably fast load time>
if page loads in > MAX:
-> punish page rank
Rather than the current logic: if page uses GOOG proprietary:
-> show at the very top
-> trick anyone that clicks
-> profit
else:
-> ban website
-> reach out to sell AdWords
"Reasonably fast" could be relative to the context - for example, ecommerce results might be a bit larger on average than news results, etc., so not a static "3 seconds at 3G speed"."Reasonably fast" could also be defined more loosely as "page uses good optimization practices" (e.g., like a YSlow grade).
> MAX = <reasonably fast load time>
If you define 'reasonably fast' as ~10ms after click, the only possible option is AMP. Even a .txt file will be orders of magnitude slower.Privacy reasons mean that it is basically impossible to load the content from the publisher's server until after the user clicks on the result. If you wait until the user click event to load the content, then there is nothing you can do to avoid a full network round trip.
AMP preloads the minimal content before the click, removing the round-trip. That's the whole magic, and the only way to get the 'instant' load.
There are unavoidable technical requirements to do this:
- Loading from Google's (or link provider X's) servers to preserve privacy.
- Constraining the html so that the load itself can't break privacy or add jank to the search result page.
If you aren't willing to accept these constraints, then you are always going to face a network round-trip in added latency. You can't have all 3 of:
- Zero perceived latency
- Privacy
- Serving from the publisher server
You can only pick 2. AMP forces choosing the first 2 which are what the vast majority of users care about.
Then AMP goes way out of it's way to give publishers back everything they could possibly miss from the 3rd.
Why this? If the HTML is already loaded from Google's servers, the load shouldn't be able to break privacy even more, and jank shouldn't be affected by the specific HTML that's being served, just by its size. So Google could just preload everything that's small enough.
If you do constrain what can run in your preload to avoid these, you end up designing AMP.
There is another way which enables almost instant loads. Turn off js completely. Try it yourself before you disregard it. It literally turns page loads instant over a regular home connection.
On some wired connections, a network round trip is within user-perceivable 'instant', but for many people on mobile devices, this is very noticeable.
https://hpbn.co/mobile-networks/
Even on the best LTE networks, the 'core network latency' is 40-50ms. 'core network latency' is the latency for getting the packet from the phone to tower to the packet gateway. This is before the packet even goes on the internet. And you need to double it for the round trip. You usually need to double the whole thing for initial DNS lookup.
Best possible latencies for an html page load on excellent LTE connections without prefetching are around 150-200ms. Most users in the world will experience >1s. A United States major city wired connection is not at all representative of what most people experience on a mobile connection.
Just look at Time to First Byte (TTFB); when you pile on SSL negotiation (since most have moved to HTTPS), the advantage is even greater since all AMP pages currently fall under the aegis of Google's domain and all non-AMP pages will require that overhead at first click.
They factor in all that stuff to a user happyness metric which impacts rankings, probably via a bunch of machine learned models.
The AMP logos and stuff are to try and force webmasters to take speed seriously. For years people have said it's important, yet big sites like eBay and Amazon, who certainly have the financial means and motivation to, still take 10x longer to load than what would maximize both revenue and user happyness.
And speed is way down on the list. Try searching for lyrics to any popular song and tell me it isn't so.
All they really need to do is add more weight to it. But they don't want to because that breaks the lock-in that they are striving for.