ExpressionEngine Docs

cache:clear

Clear Cache – This allows for ExpressionEngine caches to be cleared.

Options list:

    --type=<value>
    -t <value>
        Type of cache to clear (default: all)

Available cache types to be cleared:

Examples:

To clear all caches, use php eecli.php cache:clear --type=all

To clear a specific cache, for example db cache, use php eecli.php cache:clear --type=db