Arvind Jayaprakash wrote:
> Accept-Encoding most definitely needs to go as part of Vary when gzip in
> place. While adding User-Agent to Vary seems tempting, it has a side
> effect of severely decreasing your cache-hit ratio since every
> build/patch of a browser has a different UA string.
Most defenitely true, but the alternative is having either the
compressed or uncompressed version of a response being cached depending
on "luck". If you want to prevent the cache-hit ratio problem, you
should avoid using the gzip_disable feature if you ask me.
--
Posted via http://www.ruby-forum.com/.