Issues

ZF-3459: Proposal for different lifetime for each router in 'regexps' of Zend_Cache_Frontend_Page

Issue Type: Improvement Created: 2008-06-14T08:54:58.000+0000 Last Updated: 2008-11-13T14:10:08.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Rauan Maemirov (quessir) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:

Description

Is it possible to set different lifetime for separate router? I.e:

<pre class="highlight">
$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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts