md5 as memcached_key

Geoff Geoff lists at
Mon Jan 26 20:43:58 MSK 2009


 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

 In concept the directive might look like this;

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

Posted via

More information about the nginx mailing list