Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
83% Bandwidth Reduction via API Response Change (stathat.com)
2 points by patrickxb on May 6, 2017 | hide | past | favorite | 2 comments


>>>>>HTTP/1.1 204 No Content It is 25 bytes (maybe 26 with a blank line after the header), 127 bytes leaner.<<<<<

This makes me think HTTP Protocol is forcing too many bytes here. Can it be made any lower? Many use cases might not need headers at all !


Yeah. At the very least, I wish 204 had a smaller string at the end like "200 OK" to save some more bytes.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: