Working with TYPO3 Flow you probably configured a cache for Doctrine in Production context. If you want to use APC you have to flush the cache manually because the APC Cache is not accessible from CLI.
So the challenge is to clear the APC Cache when the Flow Cache is flushed which could be achieved with only a few lines of code. This is not the cleanest way, so if you have a better solution feel free to add a comment. (more…)