To clear eZPublish cache you can use the ezcache.php
script, inside the /bin
directory.
php bin/ezcache.php --clear-all
For ez4.X add the --purge
option too.
To delete only a portion of the cache, use the --clear-tag
option:
php bin/ezcache.php --clear-tag=template
You can list all the tags with the --list-tags
option.
It’s also possible to delete the cache of a single siteaccess:
php bin/ezcache.php --clear-tag -s automobile_magazine