You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@RichAyotte it was built with http2 support, simplicity, and performance in mind.
The API is much smaller and simpler than node-http-proxy. So if there might be some feature that http-proxy-middleware depends on that would have to be implemented inside http-proxy-middleware instead.
Performance wise it has almost zero overhead with as far as I can tell no extra allocations (no closures etc...) that V8 is not able to optimize away.
Also, I believe it much closer follows the HTTP spec for proxy behavior.
Though, you should note that node-http-proxy is much more tested and has lots of unit tests to avoid regressions (which node-http2-proxy doesn't have yet). On the other hand node-http2-proxy is much simpler.
With the last code commit made Dec 6, 2016, and 49 PR in the queue, I'm ready to declare nodejitsu/node-http-proxy dead.
Would you consider using nxtedition/node-http2-proxy instead?
The text was updated successfully, but these errors were encountered: