Laravel views are showing from cache on one server but works fine on other server

…衆ロ難τιáo~ 提交于 2020-01-16 09:06:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!