I'm using Laravel 5 with CACHE_DRIVER redis. I found that there are still Views cache files under /storage/framework/views/. Is it possible to store Views cache in redis? I thought that it will speed up the website. Thanks!
Laravel 5 doesn't support this. config/view.php is rather stubby and makes no mention of drivers, whereas config/session.php and config/cache.php both have keys that make use of CACHE_DRIVER.
You can store the view cache files in a custom location on the filesystem, but other than that, at time of writing, there's not much else you can do with the views configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With