public
Description: This plugin protect your memcached to never try to use a key greater than 250 characters(memcached limitation). It is very usefull when your key is dynamically defined.
Homepage: http://tapajos.me
Clone URL: git://github.com/tapajos/memcached_protected.git
100644 2 lines (2 sloc) 0.091 kb
1
2
require 'digest/sha1'
File.expand_path(File.dirname(__FILE__) + "/lib/memcached_protected")