Cache implementation and Memcached plugin