# Enhanced Memcached Nginx module

**URL:** <https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497>\
**Category:** NGINX\
**Created:** [May 4, 2012, 4:10pm UTC](https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497 "2012-05-04T16:10:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurdipe\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Post date:** [May 4, 2012, 4:10pm UTC](https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497/1 "2012-05-04T16:10:04Z")

</div>

Hi all,

I’m glad to annouce the V0.2 of the Enhanced Memcached Nginx module.

Based on the standard Memcached Nginx module, this module offers  
following  
extras features :

- Send custom http headers, like `Content-Type`, `Last-Modified`. Http  
headers are stored in memcached, with your body data.
- Hash keys to use large keys (\> 250 chars, memcached limit)
- Store data into memcached, via HTTP request to nginx
- Delete data from memcached, via HTTP request to nginx
- Flush memcached, via HTTP request to nginx
- Get memcached’stats, via HTTP request to nginx
- Manage key namespaces, for partial memcached flush
- Reply `304 Not Modified` for request with `If-Modified-Since` headers  
and  
content with `Last-Modified` in cache

Code and documentation is available here :

> **[GitHub - bpaquet/ngx\_http\_enhanced\_memcached\_module: Use memcached to perform...](https://github.com/bpaquet/ngx_http_enhanced_memcached_module)**
>
> Use memcached to perform caching in nginx, with lot of advanced features - GitHub - bpaquet/ngx\_http\_enhanced\_memcached\_module: Use memcached to perform caching in nginx, with lot of advanced features

Regards

Bertrand

---

<div class="post-metadata">

**Author:** ![Bertrand\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@Bertrand\_P](https://www.ruby-forum.com/u/Bertrand_P)\
**Post date:** [May 6, 2012, 11:02am UTC](https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497/2 "2012-05-06T11:02:52Z")

</div>

On Fri, May 4, 2012 at 10:09 PM, Bertrand P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I’m glad to annouce the V0.2 of the Enhanced Memcached Nginx module.
> 
> Based on the standard Memcached Nginx module, this module offers following  
> extras features :

Thanks for sharing! But it seems that this module share a _lot_ of  
features with my ngx\_memc module:

```
http://wiki.nginx.org/HttpMemcModule

```

and my ngx\_srcache module:

```
http://wiki.nginx.org/HttpSRCacheModule

```

Is there any room for collaborations here? 😉

Best regards,  
-agentzh

---

<div class="post-metadata">

**Author:** ![Bertrand\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@Bertrand\_P](https://www.ruby-forum.com/u/Bertrand_P)\
**Post date:** [May 7, 2012, 11:23am UTC](https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497/3 "2012-05-07T11:23:43Z")

</div>

Hi

On Sun, May 6, 2012 at 11:02 AM, agentzh [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpMemcModule)  
> Yes, there are lot of features in common. When I have started my coding  
> (9  
> month ago), I thought I do not need all memcached command. I changed my  
> mind after, and it was too late to use the memc module.

> and my ngx\_srcache module:
> 
> [GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](http://wiki.nginx.org/HttpSRCacheModule)

I just discover this module ☹

> Is there any room for collaborations here? 😉

Yes, I think so.

What do you expect ?

Regards,

Bertrand

---

<div class="post-metadata">

**Author:** ![Bertrand\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e19b73/32.png) [@Bertrand\_P](https://www.ruby-forum.com/u/Bertrand_P)\
**Post date:** [May 8, 2012, 7:18am UTC](https://www.ruby-forum.com/t/enhanced-memcached-nginx-module/219497/4 "2012-05-08T07:18:55Z")

</div>

Hello!

On Mon, May 7, 2012 at 5:23 PM, Bertrand P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> On Sun, May 6, 2012 at 11:02 AM, agentzh [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Is there any room for collaborations here? 😉
> 
> Yes, I think so.
> 
> What do you expect ?

Maybe we can merge those new features in your module into ngx\_memc or  
ngx\_srcache as patches? 😉

For example, the ngx\_srcache module currently lacks support for  
conditional GET requests and I really want to fix this 🙂

Best regards,  
-agentzh
