Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work for other CachingBackends #8

Open
mgrundkoetter opened this issue Mar 4, 2019 · 0 comments
Open

Does not work for other CachingBackends #8

mgrundkoetter opened this issue Mar 4, 2019 · 0 comments

Comments

@mgrundkoetter
Copy link
Contributor

The data collectors are only useful in combination with the Typo3DatabaseBackend. If you use something else, like the RedisBackend, the values are still being collected, but they are quite useless, as the db tables do not get changed by TYPO3 any more.
So if, for instance, this is set:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend';

the CfCachePagesMetrics has to query the redis backend for data, not the TYPO3 database. For the redis case, there is dbsize. For other caching backends like apcu or memcached, there are corresponding methods as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant