Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTP2 #48

Open
lyderichti59 opened this issue Nov 30, 2020 · 1 comment
Open

Add support for HTTP2 #48

lyderichti59 opened this issue Nov 30, 2020 · 1 comment

Comments

@lyderichti59
Copy link

Hi,

I'm about to switch my Reagent webapp's frontend server from the JVM to Node.js to take profit from React Server Side Rendering.
I'm sincerely considering to use Macchiato as a Clojurish backend server on Nodejs.

I would like to implement some HTTP2 functionalities to push critical assets.
Is there a way I can achieve this with Macchiato ? I couldn't find any resources about HTTP2 support.

Thanks for your work and ideas !

@yogthos
Copy link
Member

yogthos commented Nov 30, 2020

It looks like it's just a matter of creating an HTTP2 server. The server namespace would need to be updated to provide support for instantiating an HTTP2 server. Would make sense to extend the start function to take :http2? as a flag to do that. I won't have time to look at this in the near future, but if you'd be open to do a PR I can help merge that in and do a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants