In Laravel, you can set the cache to Redis. However, when I clear the cache with php artisan cache:clear
, I get the error: ERR unknown command 'FLUSHDB'
I know what the problem is because I have disabled the command as one should do for best practice.
But I'm not sure what to do. Should I activate the command so I can use redis as cache?