Improved memcached module

Igor Sysoev is at rambler-co.ru
Fri Aug 21 12:40:56 MSD 2009


On Fri, Aug 21, 2009 at 10:06:00AM +0200, Spil Games wrote:

> Hi,
> 
> Attached is a patch which allows both custom headers and custom response
> codes to be stored in memcached and returned by the memcached module.
> The Nginx 0.6 version of this patch has been in production on a heavily
> loaded site (100M unique visitors per month) for over a year with no
> problems whatsoever. The original thread on this can be found here:
> 
> http://www.ruby-forum.com/topic/160379#724717
> 
> I think it would be a valuable addition to Nginx to include this in the
> main distribution, but I'll leave this up to Igor. The patch may be a
> bit too hacky for his taste.
> 
> Feedback appreciated!
> 
> Attachments:
> http://www.ruby-forum.com/attachment/3956/nginx-0.7.61-memcache.final.patch

Thank you for the patch.

Just a note - do you use memcached_pass_header and memcached_hide_header ?
I believe that memcached content is more controlled in comparison with
proxy/fastcgi, therefore there is no need in this functionality.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list