Plugin for caching of queries with memcached