How do I disable Laravel view cache?
Out of the box? You can’t. But you can extend the BladeCompiler class, overriding the method resposible for checking if the view has been expired: class MyBladeCompiler extends BladeCompiler { public function isExpired($path) { if ( ! \Config::get(‘view.cache’)) { return true; } return parent::isExpired($path); } } You’ll need to replace the BladeCompiler instance in IoC … Read more