laravel занаятчия изчистване на кеша
//Updated Dec 2020
//laravel artisan clear cache
php artisan view:clear
php artisan cache:clear
php artisan route:clear
php artisan config:clear
почистете целия кеш laravel
/**[SAFE] Clears all cache with 1 line!**/
php artisan route:clear &&
php artisan view:clear &&
php artisan config:clear &&
php artisan cache:clear &&
php artisan clear-compiled
laravel ще изчистите кеш
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear
изчистете кеш паметта, без използване на composer в laravel 8
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
// return what you want
});
настройка на почистване laravel
php artisan config:clear
laravel забранява кеш конфигурация
php artisan cache:clear - Flush the application cache
php artisan config:cache - Create a cache file for faster configuration loading. This is for configuration cache. This command will clear the configuration cache before it creates. More details
php artisan config:clear - Remove the configuration cache file