Hacker News new | ask | show | jobs
by seanwilson 2196 days ago
I check my loading speed every time I change the site because my project promotes web best practices and I want to lead by example. :)

https://www.checkbot.io/

The 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.