Hi Tom,

On Wed, Feb 27, 2019 at 07:45:04AM +0100, Tom wrote:
> Hi Willy
> 
> I've applied your patch and now the website responds with http2..., many
> thanks for this.
> 
> The current situation looks like this:
> 
> - When I directly connect with http2 to the nginx, which has
> server-side-pushing enabled, my browser receive this push-traffic (without
> any GET-requests first) -> shown within the developer-tools.
> 
> - When I connect via haproxy (with your patch applied), then my browser does
> not receive the server-side-pushed-files. It requests these files with
> separate GET-requests (shown within the developer-tools).
> 
> Any hints for this behavior?

This is the intended behaviour as we don't support push. As you can
imagine, receiving requests from a server on a proxy is not exactly
the most natural way to work.

If you know a certain number of resources that are often/always preloaded,
you could instead try to use the http-request early-hints directive to
advertise them with 103 responses even before the request reaches the
server. Early-hints is a clean alternative to push, but its support in
browsers is still very young and unclear at this point.

Regards,
Willy

Reply via email to