ZF-3459: Proposal for different lifetime for each router in 'regexps' of Zend_Cache_Frontend_Page
Description
Is it possible to set different lifetime for separate router? I.e:
$frontendOptions2 = array(
'lifetime' => 10,
'debug_header' => false,
'regexps' => array(
'^/$' => array('cache' => true, 'lifetime' => 20),
'^/new/' => array('cache' => true, 'cache_with_get_variables' => true),
)
);
For '^/$' we set lifetime 20sec, and for' ^/new/' by default 10.
Comments
Posted by Fabien MARTY (fab) on 2008-07-05T06:03:28.000+0000
seems to be a good idea
Posted by Fabien MARTY (fab) on 2008-08-29T12:57:17.000+0000
just commited something like this into SVN trunk
can you try it ?
Posted by Fabien MARTY (fab) on 2008-09-06T09:47:37.000+0000
fixed in SVN trunk
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:08.000+0000
Changing issues in preparation for the 1.7.0 release.