Simplified the memcache_connect function

Signed-off-by: emanuele <emanuele45@gmail.com>
Some doc and unused code

Signed-off-by: emanuele <emanuele45@gmail.com>
Caching tests

Signed-off-by: emanuele <emanuele45@gmail.com>