Hi Dear Friends,
In this post We would like to share infinity knowladge My Good experience and Best solution For .
Try this it will help you and for more information click here: Laravel Examples.
We hope it can help you...
In this post We would like to share infinity knowladge My Good experience and Best solution For .
Laravel Examples
Clear database cache
In Laravel php artisan cache:clear command is used to clear cache.
It will remove all the cache associated with the connection to the database.
It will remove all the cache associated with the connection to the database.
Usage:
php artisan cache:clear
Further, on shared hosting, you can use below code in your routes/web.php file to remove your database cache.
Route::get('/clear-cache', function() { $exitCode = Artisan::call('cache:clear'); return "Cache is cleared"; });
Clear config cache
To clear config cache of your Laravel application run below command on terminal.
php artisan config:cache
Clear route cache
To clear route cache of your Laravel application run below command on terminal.
php artisan route:cache
Read :
I hope you like this Post, Please feel free to comment below, your Any Idea, suggestion and problems if you face - I am here to Resolve your Any problems.We hope it can help you...
No comments :
Post a Comment