[TYPO3-dev] TypoScript: cache_period for USER objects
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Nov 22 09:29:20 CET 2006
Ernesto Baschny [cron IT] schrieb:
>
>>I'd like to know if there is a more general approach on setting caching
>>for USER objects, like:
>>plugin.tx_myweather_p1 = USER
>>plugin.tx_myweather_p1 {
>> includeLibs = ...
>> userFunc = ...
>> cache_period = 3600
>>}
>
>
> Not possible, because once your plugin is cached in a page as an USER
> object, TYPO3 will never know which plugin were called before the cache
> for the whole page expires. The output of your plugin will just be
> "merged" with the output of the page.
I thought of an API call for USER objects to modify the caching time of the
rendered page. The resulting time would be the smallest period set by
configuration or rendered USER objects.
Masi
More information about the TYPO3-dev
mailing list