5 ms·
Does this include AppEngine?
by jpillora 9y ago
Does this include AppEngine?
- oomkiller 9y agoAccording to the docs this is not yet supported on the App Engine Flexible product[1] [1] https://cloud.google.com/appengine/docs/flexible/ruby/how-requests-are-handled#not_supported https://cloud.google.com/appengine/docs/flexible/ruby/how-re...
- cobookman 9y agoIt doesn't include appengine, but it enables appengine flex to one day support it. Also FYI Appengine Flex does support HTTP2 Server Push. You just got to do the following: Set Headers to: Content-Type: text/event-stream Cache-Control: no-cache Connection: keep-alive // https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/#x-accel-buffering https://www.nginx.com/resources/wiki/start/topics/examples/x... X-Accel-Buffering: no And use your favorite http2 server push framework.
- luhn 9y agoWhat you showed in your example is Server-Sent Events, not HTTP2 Server Push.
- spullara 9y agoIt does work really well but is unsupported on IE.
- jahewson 9y agoSever push is really a different use case from web sockets. It's also an optional part of the HTTP/2 protocol, no guarantee of client support. Also SSE has been around for a decade or so, not to be confused with HTTP/2 push.
- 19eightyfour 9y agoThis is really useful, thanks to provide this.
- jahewson 9y agoApparently this is being actively worked on: https://issuetracker.google.com/issues/35886348 https://issuetracker.google.com/issues/35886348