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

Link header for server push #38

Open
rugk opened this issue Jun 11, 2016 · 1 comment
Open

Link header for server push #38

rugk opened this issue Jun 11, 2016 · 1 comment

Comments

@rugk
Copy link
Contributor

rugk commented Jun 11, 2016

It would be nice if you could set link headers for pushing assets to the user. Especially the HTTP/2 server push is an efficient way of doing that and it really speeds up website loadings.

However I know that only static files are loaded are requested. Therefore you may only be able to use this problem in the webserver config. Basically you need to add some Link headers sent when /index.html is requested.
For this a configuration example/list of headers to send would be useful. As the assets may change it might be useful to integrate this into the build script.

@Gaff
Copy link
Owner

Gaff commented May 7, 2018

Hmm - definitely nice-to-have territory. If someone wants to submit a pull request then great, but otherwise I've so little time for this anyway :(

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

No branches or pull requests

2 participants