Laravel 6.x instant all cache clear from Application Cache, route Cache , config Cache , compiled Cache ,view Cache and Browser cache by route function

Laravel 6.x instant all cache clear from Application Cache, route Cache , config Cache , compiled Cache ,view Cache and Browser cache by route function

Laravel 6.x instant all cache clear from Application Cache, route Cache , config Cache , compiled Cache ,view Cache and Browser cache by route function

Laravel 6.x cache clear command. clear all cache instant by command and route function

Application cache by command line:

$php artisan cache:clear
Route cache Clear
$php artisan route:cache
config cache Clear
$php artisan config:clear
view cache Clear
$php artisan view:clear
Browser cache Clear
Route::get('/clear-cache', function() {
    Artisan::call('cache:clear');
    return "Cache is cleared";
});

Related Jobs

Comments


  • laravel 6.x
  • laravel all cache clear
  • laravel browser cache cleare
  • compiled Cache clear
  • Application Cache
  • route Cache
  • view Cache