help about how proxy_cache to store differet cache file by http header vary Accept-Encoding like squid

yangchunyu yangchunyu at soufun.com
Wed Mar 3 20:19:54 MSK 2010


We use nginx as reserve proxy server and want use proxy_cache to replace
squid.
There are apache servers behind nginx, we use deflate module to compress
text/html pages.
The problem is if proxy_cache has cached the compressed page but the client
side that request page does not support uncompress, the page can not be see
correctly.
I know squid using http header Accept-Encoding to store different cache
file, but there is no way to use it in nginx proxy_cache_key. 
 
Thanks
yahwist

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100304/00d81de4/attachment.html>


More information about the nginx mailing list