[TYPO3-core] RFC: #9599: [felogin] Enable Caching "USER" instead of "USER_INT"
Oliver Hader
oliver at typo3.org
Mon Oct 27 17:23:46 CET 2008
Hi Dmitry,
Dmitry Dulepov schrieb:
> Hi!
>
> Oliver Hader wrote:
>> There was small bug in the patch. USER objects do not support the
>> "includeLibs" property, only USER_INT does. Thus, the inclusion was
>> moved to the global level.
>
> There is no need for this property on the global level. If it is
> moved to the global level, the file with plugin code will be always
> loaded by TSFE (for each page!), even if only a single page on the
> site uses the plugin. This is not necessary, it only increases
> memory usage and decreases performance.
>
> USER objects do not care if this property inside the TS for the
> plugin or not. So this property should stay where it is now.
Please test it and have a look into the TSref for USER/USER_INT objects.
However I agree your concerns about when a PHP class has to be loaded -
enabling includeLibs also for USER objects should go into a new RFC.
olly
--
Oliver Hader
TYPO3 4.3 Release Manager
More information about the TYPO3-team-core
mailing list