[TYPO3-dev] Re: Drop no_cache
Dmitry Dulepov [typo3]
dmitry at typo3.org
Wed Mar 5 08:43:16 CET 2008
Hi!
Steffen Kamper wrote:
> Situation:
> I have a USER plugin. I have a function that should be rendered as USER_INT
> because this content should not be cached.
>
> Solution:
> I used a wrapperclass for easy usage. This is how the call looks:
>
> $content .= $this->theTime(); // content as USER-object, cached
>
> $content .= $this->cObj->renderNoCache($this->prefixId, 'theTime'); //
> content as COA_INT, not cached
>
> I attached the patch and a simple demo extension.
I think you can use USER_INT from USER already now, without a patch.
The most used use case for no_cache is form submission in FE. Most forms are submitted using no_cache. So any such extension has to be modified to add (or split existing plugin) another FE plugin specially to process submission. Plus all administrators have to change plugin instances. I afraif many wiill be reluctant to do it.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-dev
mailing list