[TYPO3-core] RFC #16832: Bug: error when using t3lib_TCEmain->clear_cacheCmd in frontend

Jigal van Hemert jigal at xs4all.nl
Sat Dec 25 20:33:49 CET 2010


Hi,

On 25-12-2010 19:42, Søren Malling wrote:
> This is not a review but a comment on this RFC:
>
> IIRC tcemain is not meant to be used frontend? But, if it is, there
> should be the same condition for each and every function in tcemain
> using a backend(-user) related function!

It is, but there is a definite need to have a clear cache functionality 
from a FE plugin.

> Maybe a function/possibility of clearing cache from frontend should be
> introduced to a different class (t3lib_div?)?!

There is a discussion in the typo3.dev list about clear_cacheCmd() and 
Steffen (K) said he would try to write a clean wrapper for FE use.

I would therefore suggest to postpone reviews and certainly commit and 
give him the chance to come up with a proper alternative.

The solution in this patch only makes part of the clear_cacheCmd() 
working for use with the frontend.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list