diracdeltas / FastestWebsiteEver

ultrafast single TCP packet audio/visual experience
http://packet.city/
GNU General Public License v3.0
1.39k stars 100 forks source link

status code and text not required #19

Open mozfreddyb opened 5 years ago

mozfreddyb commented 5 years ago

According to some quick testing, most browsers won't need these, so that would save you a few bytes. Question is how many browsers you aim to support though and what's more important to you (bytes / browsers), so this wasn't really clear to me up front

diracdeltas commented 5 years ago

thanks for the bytes saved! what browsers did you test out of curiosity?

mozfreddyb commented 5 years ago

Ugh, I tested locally but without deflate. simple html content works though. :confused:

Alternatively, one could save a few bytes by removing all sorts of HTTP headers and going for HTTP/0.9 support (which surprisingly, chrome and firefox still have), but that also wouldn't allow deflate afaict.

Unfortunately, I couldnt get the test server in utils/ to give me a response that's similar enough to the .c server. Maybe I should have just tested with the c server directly :blush: