[TYPO3-dev] Cache_period

Thorsten Kahler [dkd] thorsten.kahler at dkd.de
Wed Mar 25 09:24:04 CET 2009


Hi Dan,

Dan Osipov schrieb am 23.03.2009 20:53 Uhr:
> There is a global setting config.cache_period, which sets the default
> time that the cache of a page is valid. However, I would like for a
> certain page type to have a different setting, and expire at a different
> time. Is it possible?
> 

I'm not quite sure if I understand your problem, because the solution
seems too obvious: the TSObject PAGE has an own property "config". So
you can adjust all config settings for each typeNum.


myPage = PAGE
myPage {
  typeNum = 4
  config.cache_period = 3600
}


A little bit puzzled,
Thorsten




More information about the TYPO3-dev mailing list