[TYPO3-dev] Cache_period
Dan Osipov
dosipov at phillyburbs.com
Wed Mar 25 13:32:23 CET 2009
I was under the impression (from reading TSRef), that config settings
are global... If not, it should be made clearer in the documentation.
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Thorsten Kahler [dkd] wrote:
> 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