cache:clear

php mitosis cache:clear
php mitosis cache:clear --path=/custom/cache/dir
✓ File cache cleared at /path/to/storage/cache (database/Redis drivers are not affected).

Only deletes files under storage/cache (the file driver's directory). The command has no way to know whether your app's Cache is actually configured for the database or Redis driver — a database/Redis-backed cache is left untouched rather than silently doing nothing while claiming full success.

Next steps

  • Cache — the three drivers, and which one this command actually clears.