atom feed6 messages in ru.sysoev.nginxmd5 as memcached_key
FromSent OnAttachments
Geoff GeoffJan 26, 2009 9:43 am 
Dave CheneyJan 26, 2009 1:34 pm 
Geoff GeoffJan 26, 2009 2:46 pm 
Sergio BruderJan 26, 2009 3:25 pm 
MerlinJan 26, 2009 8:01 pm 
Xavier GrangierFeb 3, 2009 7:09 am 
Subject:md5 as memcached_key
From:Geoff Geoff (lis@ruby-forum.com)
Date:Jan 26, 2009 9:43:35 am
List:ru.sysoev.nginx

Hello,

Does anyone know if nginx can calculate the md5 of a $request_uri string? I'd like to set the $memcached_key as the md5 of the request_uri when passing requests for cached content to my memcached instance.

In concept the directive might look like this;

location /testing { set $memcached_key $md5($request_uri); memcached_pass localhost:11211; }

Thanks!