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

Oliver Hader oh at inpublica.de
Sun Apr 22 15:27:58 CEST 2007

This is a SVN patch request.

On line 839 in class.tslib_menu.php the caching timeout is hardcoded:
$serData = $this->sys_page->getHash($this->hash, 60*60*24);

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:

Branch: Trunk

Oliver Hader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005424.patch
Type: text/x-patch
Size: 2693 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070422/348900c5/attachment.bin 

More information about the TYPO3-team-core mailing list