News for hackers. Stuff that matters.
Re:In spite of an increase in Internet speed, webpage speeds... by ww520 on Tuesday August 04, 2020 @02:35PM (#24053088)
That's very cool. Nice little project to speed the site. One data point. A cold loading takes about 2.2 seconds; subsequent loads take about 500ms, from a cafe in the Bay Area using a shared wifi.

The cold loading stats:

     Load Time 2.20 s
     Domain Lookup 2 ms
     Connect 1.13 s
     Wait for Response 68 ms
     DOM Processing 743 ms
     Parse 493 ms
     DOMContentLoaded Event 11 ms
     Wait for Sub Resources 239 ms
     Load Event 1 ms
Edit: BTW, the speed is very good. I've tried similar simple websites and got similar result. Facebook login page takes 13.5 seconds.
Re:In spite of an increase in Internet speed, webpage speeds... by anonyfox on Tuesday August 04, 2020 @03:07PM (#24053394)
I do not really understand why it is _that_ slow...

DOM Processing 743 ms Parse 493 ms

... I mean, it is just some quite light HTML and minimal CSS, right? what could possibly make your browser so slow at handling this?

Re:In spite of an increase in Internet speed, webpage speeds... by TheDong on Tuesday August 04, 2020 @03:52PM (#24053820)
My guess? It's doing streaming parsing/processing, so it's network bound.

It started downloading html, once it got the first byte it started processing it, but then it had to wait for the rest of the bytes (not to mention the css file to download).

The parent comment is clearly using some really slow wifi, so I think it's likely that's what happened.

Re:In spite of an increase in Internet speed, webpage speeds... by ww520 on Tuesday August 04, 2020 @05:52PM (#24054882)
FWIW, I re-run the test at home. Cold load is about 400ms; repeated loads are about 240ms.

Cold load stats:

    Load Time 409 ms
    Domain Lookup 37 ms
    Connect 135 ms
    Wait for Response 40 ms
    DOM Processing 165 ms
    Parse 123 ms
    DOMContentLoaded Event 8 ms
    Wait for Sub Resources 34 ms
Re:In spite of an increase in Internet speed, webpage speeds... by throwaway1777 on Tuesday August 04, 2020 @03:49PM (#24053788)
Might be pretty good depending on the specs
Re:In spite of an increase in Internet speed, webpage speeds... by spanhandler on Tuesday August 04, 2020 @04:04PM (#24053950)
The page is 1.03KB of HTML and ~1.5KB of CSS. The HTML has about a dozen lines of Javascript in the footer that, at a glance, seemed only to execute onclick to do something with the menu. I'm pretty sure a 166Mhz (with an M) Pentium could process 1.03KB of HTML and render the page in under 700ish ms, so I agree that that seems oddly slow for any modern device, unless they're browsing on a mid-range Arduino.
Re:In spite of an increase in Internet speed, webpage speeds... by JKCalhoun on Wednesday August 05, 2020 @02:10AM (#24057754)
The HN effect?
Re:In spite of an increase in Internet speed, webpage speeds... by anonyfox on Wednesday August 05, 2020 @04:03AM (#24058338)
Since this runs solely on Cloudflare workers sites itself (no server behind it), it would be quite funny when HN hugging the site would have any measurable effect :D