found nice example brian clozel http/2 , spring boot, server push: https://github.com/bclozel/http2-experiments. there index.html
has image resources. however, image pushed server, have no idea push initiated from. don't see push filters or other indicators lead push resources inside index.html
. ideas?
jetty's pushcachefilter
configured here in example.
pushcachefilter
automatically "learn" secondary resources associated resource, , automatically push them.
the example shows way programmatically push resource. however, api has been deprecated in favor of using pushbuilder
.
pushbuilder
part of servlet 4.0, becoming standard api.
Comments
Post a Comment