Re:Faster Images using HTTP2 and Progressive JPEGs
by mnarayan01 on Wednesday December 28, 2016 @09:51AM
(#13270787)
I think he's saying that you could potentially have the prioritized output without "HTTP2 know[ing] about progressive JPEGs". E.g. specifying "these layers are high priority" versus "the first n bytes of this stream are high priority": The first would be a layering violation, but I don't see any reason the second would be (not saying anything about its practicality). Now obviously the protocol would need to support the second (at least to use it in the context we're talking about), but I read the GP as using "API" figuratively enough to encompass this.
[ Parent
| on HN ]
Re:Faster Images using HTTP2 and Progressive JPEGs
by the8472 on Wednesday December 28, 2016 @10:46AM
(#13271187)
Yes.
And would pushing chunks actually require a protocol modification? AIUI http2 push mirrors the hypothetical request headers. So it could essentially push a range-request which the browser could use to partially populate its cache.