ORM cache life time?

Hi there, I've set modelsCache, ```php $di->set('modelsCache', function() use ($config) { $frontCache = new \Phalcon\Cache\Frontend\Data(array( "lifetime" => 86400 ));

    //Memcached connection settings
    $cache = new \Phalcon\Cache\Backend\Memcache($frontCache, array(
        "host" => $config->cache->memcachedServer,
        "port" => $config->cache->memcachedPort
    ));

    return $cache;
});

``` In my model search: ```php $zone = Zones::findFirst(array( "zonehash = ?0", "bind" => array(0=>$placementhash), "cache" => array("key"=>CACHEPREFIX."ZONES".$placementhash) )); ```

What's the Zone default cache time? 86400?



1.3k

I just write code to test it. It's not 86400! In api ```php // Just cache the resultset. The cache will expire in 1 hour (3600 seconds) $products = Products::find(array( "cache" => array("key" => "my-cache") )); ```