HTTP/2 Push JSON Payload
问题 The most use cases for http/2 server push is to pre-emptively push assets files (such as javascript and css files) to browser. I am wondering can http/2 server push be used to send dynamic payload such as JSON documents to client application? From the http2-spec, it doesn't mention anything about this. Can anyone elaborate more on this? Why or why not? 回答1: HTTP/2 is not intended as a replacement of websockets in that you make a request (e.g. a web page) and may get several resources back (e