compression icon indicating copy to clipboard operation
compression copied to clipboard

Node.js compression middleware

Results 33 compression issues
Sort by recently updated
recently updated
newest added

related issue [#5431](https://github.com/sveltejs/kit/issues/5431)

pr
needs tests

As discussed in #127 this PR now includes the changes that **do** break node v0.8 and has tests. I did not remove the travis config for v0.8 since I'm not...

enhancement
pr
needs rebase

updated PR with rebase from express/compress:master to handle #128

pr

As discussed in #127 this PR now only includes the changes that should not break node v0.8 and has tests. Sadly supertest does not support http2 yet, so I had...

enhancement
pr
needs rebase

I tried to compress `"Chūnin"` and this compression function crashed. Tried to use `btoa("Chūnin")` but `btoa` doesn't support non-ASCII either.

awaiting more info

https://github.com/expressjs/body-parser/pull/403 https://medium.com/oyotech/how-brotli-compression-gave-us-37-latency-improvement-14d41e50fee4 https://caniuse.com/#feat=brotli

enhancement
pr

Fixes #71 ## TL;DR There has been several attempts (#172, #158) to add [brotli compression](https://en.wikipedia.org/wiki/Brotli) support to this library and so far none have been successfully merged (for various reasons)....

enhancement
pr

This is sort of a weird scenario, but this test case fails: ```js it('should clean up event listeners when res is unpiped to', function (done) { var listenerCount var server...

bug

Other Express-related packages like `body-parser` and `raw-body` require `[email protected]` so upgrading this dependency in `compression` saves a copy of `bytes` on all installations that combine `express` and `compression`.

deps

enhancement
pr
needs tests
needs docs