With a Composer-based TYPO3 installation (in production), when is it necessary to flush caches, and how to do it?
With a non-Composer installation + using the "Extension Manager", the flushing of caches happens automatically when an extension is installed or updated.
What is the equivalent on the command line when updating / deploying?
Is it recommended to do a (hard) cache flush in some (all) cases?
Also, what is the equivalent of doing a flush cache operation in Maintenance mode ("Install Tool") from the command line (including opcache flush)?
Example deployment workflow (this may be done with some tool, such as deployer)
- fetch git repository
composer install --no-dev
- ... other commands to flush cash, update DB schema etc.