config cache clear with code code example Example 1: laravel clear page cache php artisan cache:clear Example 2: laravel clear page cache php artisan view:clear