Hi,

I just managed to finish a PoC in which Apache Wicket runs on Jetty with
http/2 and uses the Servlet 4.0 Spec / PushBuilder to provide resources to
the client.

Notes:
* Small API which can be added to increase the performance of the webapp
with http/2
* No html changes required

References:
*
https://raw.githubusercontent.com/klopfdreh/jetty-http2-example/master/without_push.png
*
https://raw.githubusercontent.com/klopfdreh/jetty-http2-example/master/with_push.png

On localhost improved performance: 37ms latency without and 1ms latency to
serve the resource (CSS file)

Example Implementation:
*
https://github.com/klopfdreh/jetty-http2-example/blob/master/de.jetty.wicket.http2.example/src/main/java/de/jetty/wicket/http2/example/HTTP2Page.java#L28

Jetty Setup:
 *
https://github.com/klopfdreh/jetty-http2-example/blob/master/de.jetty.wicket.http2.example/src/test/java/de/jetty/wicket/http2/example/Runner.java

hooray!

WDYT

kind regards

Tobias

Reply via email to