-
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
Describe the problem
Now we serve uncompressed from memory and from sisk
Describe the solution
Node has built-in Brotli support via zlib and other compressions, need to add configurable compression:
While we load static files into memory we can compress them and store/serve compressed from memory
Alternatives
- Brotli:
zlib.createBrotliCompress() - gzip (most compatible)
zlib.createGzip() - deflate:
zlib.createDeflate() - zstd (modern, very fast, better ratios than gzip; not native in all browsers yet)
Additional context
No response
Reactions are currently unavailable