[TYPO3-core] RFC: Feature Request 5424: Menu cache expire time should be configurable

Oliver Hader oh at inpublica.de
Mon Apr 30 11:30:55 CEST 2007


Committed to Trunk


Oliver Hader wrote:
> This is a SVN patch request.
> 
> Problem:
> On line 839 in class.tslib_menu.php the caching timeout is hardcoded:
> $serData = $this->sys_page->getHash($this->hash, 60*60*24);
> 
> Solution:
> Integrate a new TypoScript property to the HMENU object to make this
> configurable. If this property is not set, the value is taken from the
> cache_timeout of the current page. If this is also not available, the
> value is taken from global config.cache_period. And finally, if nothing
> was set, the value of 86400 seconds (= 1 day) is used.
> 
> Documentation changes:
> In doc_core_tsref, section HMENU, before property "entryLevel":
> The number of seconds a menu may remain in cache. If this value is not
> set, the first available value of the following will be used:
> 1) cache_timeout of the current page
> 2) config.cache_period defined globally
> 3) 86400 (= 1 day)
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5424
> 
> Branch: Trunk
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list