In development, don't use any cache commands.
Run optimize:clear once.
php artisan optimize:clear
Don't do anything after that.
You should inspect the code in Laravel to understand what each command does. https://github.com/laravel/framework/blob/11.x/src/Illuminate/Foundation/Console/OptimizeClearCommand.php https://github.com/laravel/framework/blob/11.x/src/Illuminate/Foundation/Console/OptimizeCommand.php