DEV Community

Zubair Mohsin
Zubair Mohsin

Posted on


Laravel clear all cache with one command

Today I learned about a Laravel Artisan command which helps clear all kinds of cache at once.


php artisan optimize:clear

Let's see the output of this command:


That's right! Laravel has all sorts of caching to make it speedy that it is.

Top comments (1)

sakhideveloper profile image

Very impressive study about laravel and i like this man post.

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.