[TYPO3-core] Renaming the "Clear all cache" menu item?

Ernesto Baschny ernesto.baschny at typo3.org
Thu Mar 20 20:55:16 CET 2014


François Suter schrieb am 20.03.2014 20:41:

> It is indeed very difficult to express with a few words. Also because
> technically things are more complicated than just those 3 menu items.
> The fact that "Clear all caches" also clear the frontend caches is not
> due to the fact that the corresponding clear_cacheCmd does this, but
> because all Core caches declared in group "pages" are also declared in
> group "all". This means that a developer could very well add a "pure"
> frontend cache (i.e. only in the "pages" group), that would not be
> cleared by flushing "all" caches.
> 
> So let's try to formulate that.
> 
> * Flush frontend caches
> ** Tooltip: Clear frontend and page-related caches
> 
> I propose to keep these two unchanged, as I think they are clear enough
> and it does not matter IMO whether the flushed caches belong to the Core
> or to extensions.
> 
> * Flush general caches
> ** Tooltip: Clear frontend and page-related caches, plus some
> backend-related caches.
> 
> Here I propose to change "all" into "general" and simply call those
> caches "backend-related". That's a bit abstract, but I think it's enough
> for users. For developers, there's Core APIs.
> 
> * Flush system caches
> ** Tooltip: Clear all system-related caches, including the class loader,
> localization and extension configuration file caches. Rebuilding this
> cache may take some time.
> 
> Mostly unchanged, I added the mention of the localization cache and just
> rephrased it a bit to try and use the "cache" word less often.
> 
> What do you think?
> 
> As an aside, I find it worth noting that - looking only at
> DefaultConfiguration.php - the "pages" and "all" cache groups contain
> the exact same caches. So those two caches are really close on a base
> setup. The workspaces system extension add a cache which is only in the
> "all" group.

Good analysis and results. +1 on that from my side. Could you propose
that in a change request? Thanks!

Cheers,
Ernesto



-- 
Ernesto Baschny
TYPO3 CMS Core Developer
Release Manager TYPO3 4.5 & 6.2 LTS

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-team-core mailing list