[英]How to access and search code in debugger:///VM* files in Google Chrome Devtools
[英]How to disable cache for some files in google chrome DevTools
有很多方法可以禁用特定文件的缓存。
也许最常见的两个是:
向您的脚本文件名添加查询,即:
<script src="../whatever/someFile.js?version=1234" /> //Where version can be a variable taken from web.config or DateTime.Now() of some sort.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.