Laravel 5 Clear Views Cache

basagabi picture basagabi · Mar 19, 2015 · Viewed 205.7k times · Source

I notice that Laravel cache views are stored in ~/storage/framework/views. Over time, they get to eat up my space. How do I delete them? Is there any command that could? I tried php artisan cache:clear, but it is not clearing the views cache. With that, I have to manually delete the files in the said folder.

Also, how do I disable the views caching?

Answer

DilipGurung picture DilipGurung · Jul 24, 2015

There is now a php artisan view:clear command for this task since Laravel 5.1