Question : laravel artisan clear cache
Answered by : shubham-kunwar
//Updated Dec 2020
//laravel artisan clear cache
php artisan view:clear
php artisan cache:clear
php artisan route:clear
php artisan config:clear
Source : | Last Update : Sat, 19 Dec 20
Question : laravel artisan clear cache
Answered by : lennox-omondi
php artisan optimize:clear
//This clears all laravel caches for views,application, route,configuration
// and complied services and packages
Source : | Last Update : Tue, 05 Apr 22
Question : artisan clear cache
Answered by : fierce-fowl-hj5swxpltail
before change:
php artisan cache:clear
php artisan config:clear
php artisan route:clear
after change:
php artisan config:cache
php artisan route:cache
php artisan optimize
Source : | Last Update : Mon, 03 May 21
Question : artisan cache clear
Answered by : mre-thorrsa
//Laravel 7 / 2021-01
php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan optimize
Source : | Last Update : Fri, 29 Jan 21
Question : laravel artisan cache clear
Answered by : manish-chouarsiya
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan config:clear
Source : https://www.codegrepper.com/app/my_answers.php | Last Update : Sun, 09 May 21
Question : laravel cache
Answered by : tough-tapir-5290s8m5b1ys
/** Clear all cache Laravel **/
php artisan route:clear && php artisan view:clear && php artisan config:clear && php artisan cache:clear && php artisan clear-compiled
Source : | Last Update : Sat, 06 Aug 22
Question : php artisan cache all
Answered by : areeb-ahmar
php artisan view:cache
php artisan cache:cache
php artisan route:cache
php artisan config:cache
Source : | Last Update : Sun, 20 Jun 21
Question : laravel cache
Answered by : lokesh-ramchandani
Cache::put('key', 'value', $seconds);
Cache::rememberForever('users', function () { return DB::table('users')->get();
});
Cache::get('key');
Cache::has('key');
Cache::pull('key');
Source : | Last Update : Tue, 01 Dec 20
Question : laravel cache
Answered by : yeasin-ahammed-apon
// i am using laravel versioin 8 so......
// use this in ur controller then
use Illuminate\Support\Facades\Cache;
// in function
Cache::put('key', 'value', 1440);// 1 day
Cache::get('key');
Cache::has('key');
Cache::pull('key');
Cache::forget('key');// remove spacific
Cache::flush(); // remove all
Source : | Last Update : Thu, 21 Apr 22