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

HTTP/2 push does not appear to work #1

Closed
tsnieman opened this issue Apr 15, 2018 · 1 comment
Closed

HTTP/2 push does not appear to work #1

tsnieman opened this issue Apr 15, 2018 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tsnieman
Copy link
Owner

tsnieman commented Apr 15, 2018

After running the server, I tried verifying that HTTP/2 push was actually happening:

  • nghttp -ans https://localhost:8080/third_party/wikipedia/: this should output a list of assets, with pushed assets having an asterisk * next to them. Running this command a few times seems to make the server kill itself.

  • The Initiatior column in Chrome's DevTools Network panel did not indicate pushes.

I've tried with Node v9.11.1, with the --expose-http2 flag... no luck thus far.

I also tried using the example at https://github.com/google/node-fastify-auto-push/tree/master/samples/static-page and did not find it served assets via pushes either.

@tsnieman
Copy link
Owner Author

False alarm. While I did uncover some bugs, I think it was mostly PEBCAK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant