nginx spdy server hint

Valentin V. Bartenev ne at vbart.ru
Tue Jul 24 18:55:57 UTC 2012


On Tuesday 24 July 2012 22:36:19 CM Fields wrote:
> Thanks for the clarification.
> 
> When I read through the SPDY documents up to version 4 I saw no
> mention of server hints at all. I thought I must have missed something
> since every news or review article I read mentions SDPY hints, but no
> one ever had an example.

Seems it's a browser specific feature. It isn't related to SPDY, or nginx.

 * http://http://tools.ietf.org/html/rfc5988
 * https://developer.mozilla.org/en/Link_prefetching_FAQ

You can try:

    add_header Link "</images/big.jpeg>; rel=prefetch";

with Firefox.

> BTW, SDPY on Nginx has worked flawlessly in a public beta production
> environment for three(3) weeks now. We see an average of 739
> concurrent ips connecting with one TCP connection each and asking for
> 21 objects per un-cached page request. This has reduced the load
> (cpu/ram) on our FreeBSD stateful firewall by ~63% due to less states
> and decreased client load times by 47%. I can happily report no
> crashes, faults or page errors with the current source build. Thanks
> for all the hard work.

Great! Thank you for sharing your experience. We continue work on improving
SPDY in nginx and eventually merge the patch into the main branch.

 wbr, Valentin V. Bartenev


> On Tue, Jul 24, 2012 at 2:07 PM, Valentin V. Bartenev <ne at vbart.ru> wrote:
> > On Tuesday 24 July 2012 21:36:06 CM Fields wrote:
> >> Does Nginx support SPDY server hint ?
> >> 
> >> I have built nginx-1.3.3 with patch.spdy-47.txt and openssl-1.0.1c and
> >> my test client is Chrome 22.0 (beta unstable). I know SPDY server push
> >> is not supported, but is SPDY server hint supported? If so, how do I
> >> enable the client to take advantage of server hint?
> >> 
> >> According to the chromium project docs a "link" header might work. I
> >> added the Link header using the add_header directive in nginx as
> >> stated in their example, but I do not think it is working. For
> >> example:
> >> 
> >> Link: <mypicture1.jpg>; rel=subresource
> >> 
> >> http://www.chromium.org/spdy/link-headers-and-server-hint
> >> 
> >> Any help or basic pointers would be greatly appreciated.
> > 
> > It's just "docs". You will not find either "server hint" or the "Link"
> > header in the SPDY specification at the moment.
> > 
> >  wbr, Valentin V. Bartenev
> > 
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list