CSS and Javascript files not updating in Production environment

拟墨画扇 提交于 2021-02-07 10:54:33

问题


System's not able to recognized any changes in my CSS and javascript files that are deployed from staging to production environment. I'm sure that I'm editing the correct file and path, even test alert is not working. It looks like the files have been cached but after clearing my cache, still no luck. We're using Umbraco CMS. Any idea? Am I missing anything?


回答1:


@lyka you can try adding a version on your js links

<script src="/scripts/prechat/emea-locale-json.js?v=20160223" type="text.javascript"></script> 


来源:https://stackoverflow.com/questions/35173147/css-and-javascript-files-not-updating-in-production-environment

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