3 ms·
Is it easy for Django/Rails/ExpressJS to implement Http2 in their next release?
by abledon 8y ago
Is it easy for Django/Rails/ExpressJS to implement Http2 in their next release?
- tlrobinson 8y agoIn many cases there's nothing frameworks need to do, it's just a matter of swapping out the HTTP server (e.x. https://github.com/expressjs/express/issues/2364#issuecomment-56064232 https://github.com/expressjs/express/issues/2364#issuecommen...) or maybe even just sticking an HTTP/2-compatible reverse proxy close to the app servers. Now, if you want to take advantage of HTTP/2 features like server push that's another story.
- throwaway9d0291 8y agoDjango doesn't implement HTTP (except for the development server), that's up to whatever's handling WSGI, like uWSGI or Gunicorn or something. Unfortunately neither of those currently support HTTP2. For serving Python, I think your best bet right now is uWSGI behind NGINX.