ClearCacheService

Basic service to clear caches within the install tool.

Internal

This is NOT an API class, it is for internal use in the install tool only.

Table of Contents

Methods

__construct()  : mixed
clearAll()  : mixed
This clear cache implementation follows a pretty brutal approach.

Methods

clearAll()

This clear cache implementation follows a pretty brutal approach.

public clearAll() : mixed

Goal is to reliably get rid of cache entries, even if some broken extension is loaded that would kill the backend 'clear cache' action.

Therefore this method "knows" implementation details of the cache framework and uses them to clear all file based cache (typo3temp/Cache) and database caches (tables prefixed with cf_) manually.

After that ext_tables and ext_localconf of extensions are loaded, those may register additional caches in the caching framework with different backend, and will then clear them with the usual flush() method.


        
On this page

Search results