bpaquet / ngx_http_enhanced_memcached_module

Use memcached to perform caching in nginx, with lot of advanced features
213 stars 42 forks source link

Issue with cache size #2

Closed mgd-php closed 10 years ago

mgd-php commented 11 years ago

Hello. First of all thanks for great module. I try to use it for caching whole pages, but I've encountered the following issue: when page size less then 1kb caching works fine, but when page becomes bigger, nginx stops displaying html. Instead it offers download "application/octet-stream" file (despite of the header "Content-type: text/html;")

Is there any limitation for caching value? Did I miss some config properties for nginx, memcached or something else ? I will appreciate of any clue. Thanks.

bpaquet commented 11 years ago

Very strange. I will try to reproduce it when I find some times. Can you copy and paste your config ?

bpaquet commented 10 years ago

Closed, unable to reproduce this problem. Please see https://github.com/bpaquet/ngx_http_enhanced_memcached_module/blob/master/tests/ns_test.rb#L453