Laravel clear all cache with one command

twitter logo github logo ・1 min read

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.

twitter logo DISCUSS (1)
markdown guide

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

Classic DEV Post from Jun 30 '19

What is your favourite Git command?

Zubair Mohsin profile image
I write about PHP, Laravel and Shopify App Development.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️