[TYPO3-dev] Tangled-up user authentication

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Mon Apr 20 13:30:29 CEST 2009


Mathias Schreiber [wmdb >] wrote:
> Krystian Szymukowicz schrieb:
>> Christopher Lörken wrote:
>>>
>>> So in total there are 7 DB calls for not logged in users with every 
>>> page hit 
>>
>> hi
>>
>> I am not familiar with this aspect of TYPO3 so I would ask you because 
>> as I see you've spent some time digging into this matter. So the 
>> question is:
>> is those 7 DB calls started with every page hit even if I have no 
>> fe_user at all?
>>
>> Thanks if you could clarify this.
> 
> Yes, this is correct.
> Background is that you can save session based information for a user 
> even if he/she isn't logged in at all.
> If someone should log in at a later time (with the same session) his/her 
> session data is being "transfered" to the user data.
> 

Most of my TYPO3 sites have no fe_users and do not use session info so 
if I understand correctly this 7 queries are not needed at all.

So the next question is obvious in this situation: can I turn off all 
the authentication/session queries without changing the TYPO3 source code?

I suppose this queries could be responsible for half of the time needed 
to accomplish simple task of getting the page from db cache.


--
grtz
Krystian Szymukowicz




More information about the TYPO3-dev mailing list