Answers for "how to clear cache in laravel 8 on server"

PHP
15

laravel clear cache

php artisan cache:clear
php artisan route:clear
php artisan config:clear 
php artisan view:clear
Posted by: Guest on March-30-2020
0

clear laravel cache

php artisan view:clear 
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize
Posted by: Guest on February-23-2021
0

clear cache in laravel without artisan

Route::get('/clear-cache', function() {
     $exitCode = Artisan::call('cache:clear');
     return 'Application cache cleared';
 });
Posted by: Guest on July-13-2020
1

clear cache without using composer in laravel 8

Route::get('/clear-cache', function() {
    $exitCode = Artisan::call('cache:clear');
    // return what you want
});
Posted by: Guest on January-10-2021
0

how to manually remove cache in laravel

//You can call an Artisan command outside the CLI.

Route::get('/clear-cache', function() {
    $exitCode = Artisan::call('cache:clear');
    // return what you want
});
Posted by: Guest on April-27-2021

Code answers related to "how to clear cache in laravel 8 on server"

Browse Popular Code Answers by Language