what things need to be cached in laravel code example
Example 1: cache clear in laravel
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
Example 2: why the laravel project have many cache
1 _ go to app/console/Kernel.php
2 _ do everything that you want in schedule like this :
protected function schedule(Schedule $schedule)
{
$schedule->call(function () {
DB::table('recent_users')->delete();
})->daily();
}