phpcachinglaravellaravel-5laravel-artisan

Laravel 5 Clear Views Cache


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?


Solution

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