May 11, 2022
2
Level 7
Laravel view cache issue
Hello
I am facing an issue with caching views. I have run these commands
php artisan optimize
php artisan view:cache
now, what I expect is I have cached the view. now if I go to the website it should use the cached view. it does not use the cached views it renders from the actual .blade.php file.
how I am supposed to cache the views file so it actually renders from the cache, not actual views.
kindly help, thanks in advance
Please or to participate in this conversation.