Configuration

Immediately after installing this extension, the hook is active and looks for cache expression records to process.

Cache Expression Record

A cache expression record can only be created as administrator or system maintainer on the Root Page (PID: 0).

Click Web > List module, choose root page (PID 0) and create a new record of type Cache Expression (table: tx_cacheanalyzer_expression).

Title
Type
string
Default
1

A title for better identification in the list of other records of the same table.

Throw exception?
Type
boolean
Default
false

By default cache_analyzer will only analyze and protocol cache entries matching the requirements. If set to true a protocol will be written, but afterwards an exception will be thrown to prevent filling the caching framework with maybe invalid data.

Throw exception in frontend only?
Type
boolean
Default
true

If Throw Exception? is active, it may happen that exceptions will also be thrown in backend. This may happen in the Page module where parts of content will be rendered for content element preview.

To prevent throwing exceptions in backend this option must be true. If you have problems with cache in backend you have to set this option to false.

Expression
Type
string
Default
1

Enter the expression the cache entry has to match.

If Is regular expression? is deactivated cache_analyzer will just compare a cache entry with mb_strpos.

If Is regular expression? is activated cache_analyzer will compare the cache entry using a regular expression. There is no need to add a delimiter like / in front/back of the expression. This will be done automatically. Further contained / will be quoted automatically, too.

Is regular expression?
Type
bool
Default
false

Activate to use regular expression syntax in field Expression.

Cache Configurations
Type
array
Default
1

TYPO3 comes with a lot of different cache configurations. If you know in with cache configuration the error happens you can select that config from the right list to the left list. If you are completely unsure feel free to move all cache configurations from right to left box.