DEV Community

Discussion on: Why your website should be under 14kb in size

Collapse
 
unthrottled profile image
Alex Simons • Edited

Neat! Didn't think I'd be loading up wireshark ( wireshark.org/) this morning.

It appears that the average packet size my server sends to my computer is 1494 bytes. Here's a small snippet of the traffic I saw from opening unthrottled.io

Image description

I doubt that I have much influence of the TCP transmission (I use AWS Cloudfront), but do you know if there are various factors that affect max packet size? Such as TLS? (this conversation was in TLSv1.2). I know when I saw the initial Client Hello, it asked for ALPN Next Protocol: http/1.1 , so I'll assume this might be a http/1.1 conversation. 🤷 (if that helps)

Collapse
 
shadowfaxrodeo profile image
Nathaniel

I’m not sure, I know the maximum of 1500 bytes is a limitation of Ethernet - and that doesn’t change no matter what protocol you’re using. but that leaves you 6 missing bytes!