Home Laravel 9 How to Laravel cache clear

How to Laravel cache clear

1 min read
0
0
181

Laravel cache clear , you can use the Artisan command-line tool that comes with Laravel. Here are the steps to clear different types of cache in Laravel.

laravel cache clear

 

Clear Application Cache:

php artisan cache:clear

Clear Route Cache:

php artisan route:clear

Clear Configuration Cache:

php artisan config:clear

Clear Compiled Views Cache:

php artisan view:clear

Open your terminal, navigate to the root directory of your Laravel project, and run the desired commands. For instance, to clear all caches, you can execute the following commands sequentially

php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear
php artisan event:clear

 

Load More Related Articles
Load More By admin
  • Build Crud API with Laravel 12

    In this tutorial will teach  Laravel 12 CRUD API  by step. Laravel  10 CRUD Application  w…
  • laravel 12 image upload tutorial

    In this lesson we talk about laravel 12 image uploading and display the image step by step…
  • Laravel 12 CRUD Application

    In this tutorial will teach Laravel 12 CRUD Application step by step. Laravel  12 CRUD App…
Load More In Laravel 9

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Spins Casino Experience and Features

З Spins Casino Experience and Features Spins Casino offers a range of online games with in…