[TYPO3-core] RFC: #9599: [felogin] Enable Caching "USER" instead of "USER_INT"

Martin Kutschker masi-no at spam-typo3.org
Mon Oct 27 12:05:50 CET 2008


Steffen Kamper schrieb:
> Hi Masi,
> 
> Martin Kutschker schrieb:
>> Steffen Kamper schrieb:
>>> Hi,
>>>
>>> attached is a new patch which change the USER to USER_INT using the
>>> convertToUserIntObject()-option.
>>
>> But will the conversion code will ever be executed? The plugin starts
>> out as a USER. If the page is cached while the user is not logged in,
>> TYPO3 will simply used the cached an rendered version. So the PHP
>> condition will never be checked.
>>
>> Masi
> 
> hmm - you're right. This puzzles me about the sense of the function. How
> to use it in a cached plugin when it's not called?

I guess it was meant for quasi-static changes triggerd by TS
definitions: USER unless admins says otherwise. Dmitry will probably be
able to tell you more about the use cases.

Masi


More information about the TYPO3-team-core mailing list