Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Linux434837yHTTP/2 is awesome.
Just use any framwork and enable HTTP/2 on Apache or your prefered webserver.
I suggest brotli too -
@Linux So it doesn't matter about the packages or framework I use - it's on the Apache side? If so, cool!
By the way, can the server side recognise whether the connection is older than HTTP/2 and compensate accordingly? -
Linux434837y@CodeKill
If the client does not have support for HTTP/2, the connection will use an older connection :)
You have to have SSL enabled thou. Because HTTP/2 is using SSL/TLS connections -
@Linux thanks. I read that the spec ended up taking SSL out but Chrome, Firefox etc. are implementing it as required anyway.
-
Kimmax109877yWhat you're serving shouldn't matter, the server does. Nginx and apache2 both support HTTP/2. If you want to handle connections in your app yourself you're better of with a reverse proxy using one of the above.
Related Rants
Would be interested to hear if anyone is using HTTP/2 and on which framework. Anyone have experience with Python - what is the community package compatibility like? Thanks!
undefined
question
framework
python
html/2