md5 as memcached_key
Geoff Geoff
lists at ruby-forum.com
Mon Jan 26 20:43:58 MSK 2009
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!
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list