[TYPO3-dev] [Typo3-Dev] Suggest add hook in $TSFE->getHash().

Dennis Cheung hkdennis2k at gmail.com
Thu Jan 5 11:15:59 CET 2006


Hi,

I want to do something like "cHash", but some different.
cHash is depends on url parameter, not the state of user session.

$TSFE->getHash() control how cache will be read/writes.
if there has a hook and let extendsion add thier signal into hash.

It is easy to build some pages without no_cache, USER_INT, and cHash.

The most common case is the "login box" / "your username".

The page is different when user is not-login, and users eachother.
But same user is reading same page.

Just add the user_id, or something into md5 hash. (you can read _GP
and usersession)

If you asked, Typoscripts templates' condition are also in the hash.
But it is not powerful and you won't write 20 condition for 20 feusers.


Dennis




More information about the TYPO3-dev mailing list