Laravel 5 Clear Views Cache

前端 未结 8 1543
悲&欢浪女
悲&欢浪女 2020-12-02 07:41

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 th

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 08:17

    Right now there is no view:clear command. For laravel 4 this can probably help you: https://gist.github.com/cjonstrup/8228165

    Disabling caching can be done by skipping blade. View caching is done because blade compiling each time is a waste of time.

提交回复
热议问题