Content Encoding Error while returning data from memcached stored by ngx_srcache
agentzh
agentzh at gmail.com
Fri Mar 16 12:30:31 UTC 2012
On Fri, Mar 16, 2012 at 7:58 PM, n1xman <nginx-forum at nginx.us> wrote:
>
> I need little help here. First time browsing or memcached restart will
> show you the data correctly; but when you refresh second time and it
> will gives you content encoding error and I think it is something to do
> with my nginx or ngx_srcache config for fetching data from memcached. I
> checked using Wireshark from the client-end and found nginx sending
> uncompressed data and I can see the Accept-encoding and
> Connection-encoding on request and response header are set respectively.
> I suspect the error triggers due to browser expect compressed data
> instead of uncompressed data.
>
It looks like a bug in old versions of ngx_srcache (like the one,
v0.13rc2, that you're currently using). Please try the latest version,
v0.13rc6:
https://github.com/agentzh/srcache-nginx-module/tags
Please let me if the problem still persist with the latest version :)
Best regards,
-agentzh
More information about the nginx
mailing list