Server is serving old versions of static files, but trimmed or padded to match length of new versions

你。 提交于 2019-11-29 06:07:16

Virtualbox hates sendfile. If you turn it off it should work.

For example in nginx you would need to add sendfile: off;. In Apache it's just EnableSendfile off.

In the end it turned out that this was probably being caused by VM issues. The code in question was located on a Windows drive, but was being served from within a Linux VM that was accessing the code via a shared directory. Remounting the share seemed to fix the problem (although not necessarily reliably).

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