hrgdavor / jscadui

MIT License
30 stars 7 forks source link

serve.js: gzip encoding and keep alive #64

Closed platypii closed 11 months ago

platypii commented 11 months ago

Adds support for gzip encoding, and adds connection keep-alive header to responses.

Improves performance on page speed tests.

It's pretty neat that you can do this with plain node.js.