go-siris / siris

DEPRECATED: The community driven fork of Iris. The fastest web framework for Golang!
Other
142 stars 16 forks source link

FR: h2push #14

Closed Dexus closed 7 years ago

Dexus commented 7 years ago

Add a function to use the benefits of h2 speed with push of resources before the client will ask for them.

godofdream commented 7 years ago

there was a push implementation in iris v6. We may copy some of it: https://godoc.org/gopkg.in/kataras/iris.v6#ResponseRecorder.Push

Dexus commented 7 years ago

Yeah, but this only works on a recorded response, not on a "live" response.

Am 25.06.2017 um 11:52 schrieb godofdream notifications@github.com:

there was a push implementation in iris v6. We may copy some of it: https://godoc.org/gopkg.in/kataras/iris.v6#ResponseRecorder.Push

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Dexus commented 7 years ago

omg, I overread it ... https://github.com/go-siris/siris/blob/master/context/response_writer.go#L328

close #14