Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think it feels fast because it loads at once, but I'm actually not getting very impressive results programmatically if you measure how long the entire TCP transaction takes (which is what I consider page loading):

    # Both DNS records are cached before request
    >>> print requests.get('https://varvy.com/pagespeed/wicked-fast.html').elapsed.microseconds
    226515
    >>> print requests.get('http://www.google.com').elapsed.microseconds
    92027
Even google.com (92 ms) is about 250% faster than OP (226 ms) to establish connection, read all of the data, and close.


But what's 130ms?

Okay, okay, it "matters". But it's nothing compared with the 3s to load all the JS and CSS and the subsequent sluggishness as 20 analytics scripts are loaded and processed.


Where the time goes is the TLS handshake, which is not here when loading cleartext Google.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: