[TYPO3-dev] TypoSCript condition userfunc extremely slow

Kay Strobach typo3 at kay-strobach.de
Thu Aug 4 11:12:31 CEST 2011


Hi,

wouldn't it be nice to have a no cache toolbar in extdeval, where it's
possible to disable some / all caches interactivly.

As TYPO3 caches more and more this will tell devs what caches are
enabled ...

Regards
Kay

Am 02.08.2011 04:21, schrieb Thomas "Thasmo" Deinhamer:
> Hello folks,
> 
> I'm using the following condition:
> 
> [userFunc = user_page_layout(1)]
>     <INCLUDE_TYPOSCRIPT: source="FILE:EXT:hype_project/setup.txt">
> [global]
> 
> The userFunc is defined in the ext_localconf.php:
> https://gist.github.com/1119457
> 
> What's weird about it is:
> * Page loads in 3 seconds when conditions in place.
> * Without conditions page loads in 250 milliseconds.
> * Uncached page seems to call the condition 2 times.
> * Cached page seems to call the condition 3 times!!
> 
> What's this about? I can't figure out what's going on.
> 
> It also seems that the page needs 3 seconds to render
> only if the condition returns TRUE. If it returns FALSE
> the page is still being rendered in 250 milliseconds.
> 
> Is the problem the condition or the <INCLUDE /> part?
> Is the page not cached if it returns TRUE? I'm running
> TYPO3 on the GIT version "4.5.5-dev".
> 
> Thanks for your help and feedback!
> 
> Regards,
> Thomas


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answere was usefull: https://flattr.com/profile/kaystrobach




More information about the TYPO3-dev mailing list