Is it possible to send html HEAD early (chunked)?

Valentin V. Bartenev vbart at
Sun Jul 13 20:01:07 UTC 2014

On Sunday 13 July 2014 14:49:18 Martin Grotzke wrote:
> Hi all,
> inspired by the bigpipe pattern I'm wondering if it's possible to send the
> full html head so that the browser can start downloading CSS and javascript
> files.
> An idea would be that the proxied backend uses a chunked encoding and sends
> the html head as first chunk. The body would be sent as a separate chunk as
> soon as all data is collected.
> Not sure if this is relevant: In our particular case we're using ssi in the
> body to assemble the whole page, and some of the includes might take some
> time to be loaded. The html head contains an include as well, but this
> should always be loaded from the cache or should be served really fast by
> the backend.
> What do you think about this? Has anybody tried this already?

Have you tried nginx SSI module?

  wbr, Valentin V. Bartenev

More information about the nginx mailing list