[TYPO3-core] RFC #17060: Only log complete page cache flushes
Ingo Renner
ingo at typo3.org
Mon Jan 17 16:09:06 CET 2011
Steffen Gebert wrote:
Hi Steffen,
> I don't expect cache clearings of a single page to cause big trouble,
> however I agree with logging of cache flushes.
Depending on the size of the overall site, the kind of page (single
views!), and the number of dynamic elements on a page I'd like to
disagree here. Thus it may be important to know who "did that". After
all logging for clearing caches was introduced with a reason.
> Note:
> And example extension, making use of single calls to clear_cacheCmd() is
> stg_clearcache, which allows editors to clear the cache of a branch, to
> which they have access (using the existing "Clear cache of this page"
> icon). This is handy for *large* sites, as you don't have to allow them
> to flush the *whole* page cache.
I agree with Ernesto here that this would be a good functionality to
have for the core. Your "problem" could be then solved by adding a
method clearBranchCache($root). Personally I'd rather log too much
instead too few. Especially considering TYPO3 as enterprise these audit
tracks may be important.
Thus I'd be -1 to removing logging of cache clearing.
best
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code
TYPO3 - Open Source Enterprise Content Management System
http://typo3.org
Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com
More information about the TYPO3-team-core
mailing list