prpl-server-go icon indicating copy to clipboard operation
prpl-server-go copied to clipboard

Local Server Push + push intermediates without routes

Open d4l3k opened this issue 7 years ago • 0 comments

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.

d4l3k avatar Jun 11 '18 13:06 d4l3k