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

Local Server Push + push intermediates without routes #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

d4l3k
Copy link

@d4l3k d4l3k commented Jun 11, 2018

This adds support for local server pushing instead of just setting the Link header via WithShouldPush().

This also allows for pushing intermediate files without the routes specified. The old behavior was if you had a route "/foo": "my-foo.html" and you just requested my-foo.html nothing would be pushed. It now pushes on either case which enables most of the benefits of push for routes that aren't known ahead of time.

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

Successfully merging this pull request may close these issues.

1 participant