Hacker News new | ask | show | jobs
by jvehent 3689 days ago
See also https://hacks.mozilla.org/2016/01/web-push-arrives-in-firefo...

WebPush is (going to be) an IETF standard: https://datatracker.ietf.org/wg/webpush/documents/

1 comments

Yikes, that really seems like abuse of HTTP/2 semantics to me. My understanding has always been that server push in HTTP/2 is only intended to prime the client cache for requests you know they're about to (or likely to) make. [1]

> Pushed responses are always associated with an explicit request from the client.

I'd rather see additional frame types defined that allow for bidirectional communication (i.e. websockets 2.0) than overriding and conflating the PUSH_PROMISE frame type.

[1] https://tools.ietf.org/html/rfc7540#section-8.2