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-13 Thread agentzh
Hello! On Wed, Jun 12, 2013 at 3:51 AM, n1xman wrote: > However, I have noticed every srcache_fetch GET /memc subrequest hits the > memcached even though srcache_store skipped content-type which is not > defined. > The cache fetch operation must be performed *before* sending a request to the back

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

Re: Nginx cache files by mime type using ngx_srcache module

2013-06-11 Thread agentzh
Hello! On Tue, Jun 11, 2013 at 2:10 AM, n1xman wrote: > 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-is-my-site ) > > Is this possible with ngx_srcache module using map module o

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