Re: [fw-general] Zend_Cache lifetime question

2009-03-03 Thread holografix .
Thank you very much. best regards, holo 2009/3/3 Fabien MARTY > On Tue, Mar 3, 2009 at 5:44 PM, Xavier Vidal wrote: > > I can't check the source code now, but common sense says it will override > > default lifetime settings (1800) in this call with the specific one > (3600). > > Good point for

Re: [fw-general] Zend_Cache lifetime question

2009-03-03 Thread Fabien MARTY
On Tue, Mar 3, 2009 at 5:44 PM, Xavier Vidal wrote: > I can't check the source code now, but common sense says it will override > default lifetime settings (1800) in this call with the specific one (3600). Good point for you :-) Regards -- Fabien MARTY fabien.ma...@gmail.com

RE: [fw-general] Zend_Cache lifetime question

2009-03-03 Thread Xavier Vidal
sunto: [fw-general] Zend_Cache lifetime question Hi Here's some code: // Setup cache object $frontendOptions = array( 'lifetime' => 1800, 'automatic_serialization' => true ); $backendOptions = array( 'cache_dir' => '../data/cache/'

[fw-general] Zend_Cache lifetime question

2009-03-03 Thread holografix .
Hi Here's some code: // Setup cache object $frontendOptions = array( 'lifetime' => 1800, 'automatic_serialization' => true ); $backendOptions = array( 'cache_dir' => '../data/cache/' ); $cache = Zend_Cache::factory( 'Core', 'File', $frontendOptions, $backendOptions