I am unsure how they reach this "achievement." I didn't think any close to modern website could act like ESPN in loading 32453235 scripts per page...
And please... Fix it so I can search for in-store only items.
I am unsure how they reach this "achievement." I didn't think any close to modern website could act like ESPN in loading 32453235 scripts per page...
And please... Fix it so I can search for in-store only items.
Amazon.com (logged in) was 12MB, with 28 scripts.
(Disclaimer: Anecdata for my system, obviously.)
There are substitutes for AWS, but the switching cost is relatively high. Whereas for toothpaste, breakfast cereal, toasters, books etc etc the substitution is perfect (I can buy the same brands from many companies) and switching cost is low (I pull out a credit card).
Insofar as Amazon has a large free cashflow coming off AWS after capital improvements, it can use that money to (a) attract cheap funding from Wall St to (b) build, build, build.
I will say, Amazon's above the fold paint was faster, but it did load a LOT after that.
Loads fast, looks clean, seems to work fine.
The main problem is most of the images are extra large and poorly optimized (they are all preloaded it seems, as Next.js does automatically). Even on my fast fiber connection it flashes.
For example, this product image is 63kb:
https://jetimages.jetcdn.net/md5/f442c4124ca2fb7537503a592a7...
But on the page it’s only loaded 360x360 px but are downloaded at 700px.
Amazon's above the fold render does appear a little faster, but their total payload and load time is much larger/slower.
Their landing page doesn't have a filtering option, but the bar at the top of the search results page has a "Store Availability" option.