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

Support http2 push #211

Closed
matthewp opened this issue Jan 27, 2017 · 2 comments
Closed

Support http2 push #211

matthewp opened this issue Jan 27, 2017 · 2 comments

Comments

@matthewp
Copy link
Contributor

matthewp commented Jan 27, 2017

If done-ssr is used within an http2 server there will be a response.push method that can be used to push resources. Since we know the bundles the user will need to render the page we could push those immediately.

This would require adding configuration for the bundles path:

ssr({}, {
  bundlesPath: __dirname + "/dist"
});
@matthewp
Copy link
Contributor Author

A potential workaround for the caching issue: h2o/h2o#421

@matthewp
Copy link
Contributor Author

matthewp commented Dec 7, 2018

This was added in done-ssr 3.0.

@matthewp matthewp closed this as completed Dec 7, 2018
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

1 participant