News for hackers. Stuff that matters.
Re:Conflict at Walmart threatens its ecommerce battle with A... by richajak on Thursday July 04, 2019 @11:28PM (#20359604)
The site is ok, but loading images takes forever.
Re:Conflict at Walmart threatens its ecommerce battle with A... by dmix on Friday July 05, 2019 @01:39AM (#20360093)
Agreed. The top-end images on the homepage is way too heavy. The e-commerce subpages are slightly better image-wise: https://jet.com/c/fashion/men/shoes/5209961250?experienceId=...

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.