问题
I am working on Laravel(5.4) project. I am facing an strange issue regarding the laravel views. My all views are working fine but some views are always showing the old content and I've to refresh the page manually to get the latest data.I am using midphase server with https://. Other strange thing is that same code is working fine on my testing server, which is on GoDaddy and I am NOT using https for it, there is no cache issue on it and also there is no cache issue on my localhost. Kindly guide me, how to solve this cache issue.
回答1:
Just try clear the view cache using the following command
php artisan help view:clear
Hope the above command will help you Thanks.
来源:https://stackoverflow.com/questions/48926670/laravel-views-are-showing-from-cache-on-one-server-but-works-fine-on-other-serve