Welcome! Log In Create A New Profile

Advanced

Re: Please Help With Memcached Setup

agentzh
August 09, 2010 10:38PM
On Mon, Aug 9, 2010 at 9:43 PM, Dayo <nginx-forum@nginx.us> wrote:
> Hi
>
> I am running Nginx 0.7.67 with the Memc and Echo 3rd party modules in
> trying to follow
> http://agentzh.org/misc/slides/nginx-conf-scripting/nginx-conf-scripting.html#35.
>
> I want to serve some static files from memcached and am trying a self
> updating setup as in the following pseudocode:

This is a FAQ regarding my ngx_memc module :) And this can be done by
combining the ngx_memc and ngx_srcache modules:

http://github.com/agentzh/srcache-nginx-module

The only caveat is that ngx_srcache does not cache response headers
(yet), so it's necessary to use the <charset>, <default_type> and
<add_header> directives to explicitly set the Content-Type header and
etc. It's probably a bad idea to combine this module with ngx_proxy
which usually returns varying response headers :)

Support for response header caching in ngx_srcache is a TODO and
patches for this will be highly appreciated :)

Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Please Help With Memcached Setup

Dayo August 09, 2010 09:43AM

Re: Please Help With Memcached Setup

Dayo August 09, 2010 09:47AM

Re: Please Help With Memcached Setup

agentzh August 09, 2010 10:38PM

Re: Please Help With Memcached Setup

Dayo August 10, 2010 03:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready