$frontCache = new \Phalcon\Cache\Frontend\Data(array(
"lifetime" => 172800
));
$cache = new Phalcon\Cache\Backend\Redis($frontCache, array(
'host' => 'localhost',
'port' => 6379,
'auth' => 'foobared',
'persistent' => false
));
$cache->save('my-data', array(1, 2, 3, 4, 5));
//delete cache not working
$cache->delete('my-data');
delete not working