Re: Nginx cache files by mime type using ngx_srcache module

2013-06-18 Thread n1xman
Hi agentzh, Thanks for the response. It is not happening on my uat site as I have redone the configuration and tested with the full setup. However it happened on my try out setup where I did not want image/* content-type to be cached. 2013/06/12 15:51:43 [info] 11016#0: *19 key: "%252fsanta.jpg"

Re: Nginx cache files by mime type using ngx_srcache module

2013-06-12 Thread n1xman
Hi agentzh, Thanks for the support and it is working :) However, I have noticed every srcache_fetch GET /memc subrequest hits the memcached even though srcache_store skipped content-type which is not defined. This will keep busy the memcached server and I think srcache_fetch GET subrequest shoul

Nginx cache files by mime type using ngx_srcache module

2013-06-11 Thread n1xman
Hi, I’m using ngx_srcache module with Memcached to cache static contents of the upstream servers. This is based on static file extensions. Now I need to cached them by looking at Content-Type of the header to cache .html pages as we do not use the .html extension. (i.e. http://www.example.com/this