Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
1–6 of 6 posts
Re: Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
#2Re: Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
#3for amazon
Re: Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
#4But the different business models are the reason that Amazon cares about 0.1 seconds, and will work to improve quickly, while I care more about 0.5 seconds or higher and can defer it as technical debt.
Re: Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
#5The whole page is about 0.1MB transferred and should render in about 0.5s on desktop.
The basic tricks used: It's a static site (so no SPA issues), uses HTTP/2, uses a CDN, the big header screenshot is an inlined SVG image so it's small + loads super fast + has high detail, blocking JavaScript isn't required for displaying anything, small CSS footprint, CSS is inlined into the page header and self-hosted fonts that don't block page rendering while they load.
> Amazon said that they lose 1% in checkouts for every 0.1 seconds of latency on their pages
These statistics would be highly dependent on the type of website I imagine. If you were trying to buy a product from a website where you knew you could only buy it from that website you're going to be much more patient for example.
Everyone likes a fast website though.
Re: Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?
#6For me it's something I do focus on, albeit to the extent reasonable. I'm working on a new chat site called sqwok.im and just like Amazon, there's real concern that a slow page load could ward people off. There are two key areas I've focused on in particular, one is api optimization, minimizing network requests as much as possible, and the other is SSR or server-side rendering, where some of the initial page data is…