Keep-Alive acceleration, is this possible?

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Sep 25 16:38:47 CEST 2008


In message <48DB7CDA.9000604 at loman.net>, Nick Loman writes:

>I am looking at Varnish as a web accelerator (it looks great!), and I 
>wonder if it is possible to get the best of both worlds, i.e. the user 
>still gets KeepAlive support, but the backends server one script per 
>connection.

That will work.

>I was thinking it might be possible to strip out the "Connection: Close" 
>header returned by Apache, [...]

You don't need to do anything.

"Connection:" is a hop-by-hop header, so Varnish already deletes it before
sending the reply to the client

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list