# Some questions about the memcached module

**URL:** <https://www.ruby-forum.com/t/some-questions-about-the-memcached-module/170418>\
**Category:** NGINX\
**Created:** [June 17, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/some-questions-about-the-memcached-module/170418 "2009-06-17T12:28:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matamouros](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@matamouros](https://www.ruby-forum.com/u/matamouros)\
**Post date:** [June 17, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/some-questions-about-the-memcached-module/170418/1 "2009-06-17T12:28:40Z")

</div>

Greetings,

I’ve been playing around with the memcached module and I was wondering  
if prior to sending a cache hit to the client it is possible to do  
something with the cache’s contents. Let me give a little bit more  
detail: imagine that I would like to use memcached to maintain a kind of  
CDC, a mapping of key=\>value, where the values are not pages nor images,  
but rather URLs to where the nginx server should proxy the original  
request. In short: client makes request, nginx tries to obtain from the  
memcached the mapped URL (value) for that request (key), if there is a  
cache hit it will get the content (an image, for instance) from the URL  
value stored in the memcached and proxy it for the original client.

If somehow there was a way to access the key’s value in a variable of  
some kind, maybe it would be possible to do this.  
Any ideas? Is it even possible?

Many thanks in advance.

Posted at Nginx Forum:

> **[Some questions about the memcached module](https://forum.nginx.org/read.php?2,3000,3000#msg-3000)**
>
> Greetings, I've been playing around with the memcached module and I was wondering if prior to sending a cache hit to the client it is possible to do something with the cache's contents. Let me give a little bit more detail: imagine that I would like...

---

<div class="post-metadata">

**Author:** ![matamouros](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@matamouros](https://www.ruby-forum.com/u/matamouros)\
**Post date:** [June 17, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/some-questions-about-the-memcached-module/170418/2 "2009-06-17T17:45:30Z")

</div>

I’ve post a new thread for this question, you should follow up there.  
[Changing sources: Memcached module variant](http://forum.nginx.org/read.php?2,3013,3013).

Posted at Nginx Forum:

> **[Re: Some questions about the memcached module](https://forum.nginx.org/read.php?2,3000,3014#msg-3014)**
>
> Greetings, I've been playing around with the memcached module and I was wondering if prior to sending a cache hit to the client it is possible to do something with the cache's contents. Let me give a little bit more detail: imagine that I would like...
