[TYPO3-dev] Cache_period
Dan Osipov
dosipov at phillyburbs.com
Tue Mar 24 18:44:44 CET 2009
Bart,
Thanks, but it didn't work... Not sure why.
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Bart Laarhoven - Ostendo wrote:
> I'd suggest using a TypoScript condition like:
>
> [globalVar = TSFE:page|type = 4]
> config.cache_period = 3600
> [end]
>
> Somewhere in your template..
>
> Bart
>
> -----Original Message-----
> From: typo3-dev-bounces at lists.netfielders.de
> [mailto:typo3-dev-bounces at lists.netfielders.de] On Behalf Of Dan Osipov
> Sent: dinsdag 24 maart 2009 14:05
> To: typo3-dev at lists.netfielders.de
> Subject: Re: [TYPO3-dev] Cache_period
>
> Masi,
>
> I want to do it for a few hundred pages, and only for a certain page
> type, not the other types.
>
> Possible, or should I look for alternative solutions?
>
> Dan Osipov
> Calkins Media
> http://danosipov.com/blog/
>
> Martin Kutschker wrote:
>> Dan Osipov schrieb:
>>> 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?
>> In the BE open up the page properties and change the value of the "cache
>> expires" drop-down.
>>
>> Masi
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
More information about the TYPO3-dev
mailing list