Hacker News new | ask | show | jobs
by subhashchy 1392 days ago
This is very cool. In the age if bloated JS frameworks and Bulky Desktop sites loaded on Mobile devices, its refreshing to see someone putting efforts to make the pages fit in a single MTU.

However, just page size is half the story.

Look at the screenshots below -

#1 - Here you can see this page (9KB) - 110ms - https://i.imgur.com/qeT2Az0.jpg

#2 - Another page, 29 KB in size - 42ms. https://i.imgur.com/tWsLGr1.jpg

Both on same network (Internet), same computer.

1st one (This article) is served by Netlify and AWS (Static hosting).

2nd is an ecommerce store on Dukaan (ecommerce platform for India), I am affiliated with.

2 comments

Tangential: is there a law for websites like there is for countries?

If a country includes the word "Democratic" in the name, it probably isn't.

If a website says "We value your privacy", it probably doesn't.

Yeah, it's just waiting on the server for most of that time in the first screenshot. Static (or cached) sites are going to be a lot faster than sites that have to re-render things every time.
endtimes.dev is on netlify I believe and a static site, correct ?
Oh, maybe. I don't know. I'm just saying the waterfall is green, so it's waiting on the server most of the time, and I'm not sure why else that would be other than location.

Trying it myself, I can't reproduce that though. The first takes 40ms to connect to the server and 3ms downloading the page. The second take 40ms to connect, 40ms downloading the HTML, and then another 2000–3000ms downloading all the other assets.