We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如 test.html 里面有个<script src="test.js"></script>,我想拦截这个test.js,但是因为有缓存,所以浏览器不会发起请求,拦截失败。因此,想要替换成<script src="test.js?时间戳"></script>,这样就能发起请求了。
The text was updated successfully, but these errors were encountered:
可以直接禁用某些url的缓存:disable
如果要加时间戳比较麻烦:用ruleFile动态生成时间戳及resReplace规则做内容替换
Sorry, something went wrong.
pc端还好,主要是移动端开发比较麻烦,有些根本清不了缓存,像微信的缓存就很恶心,fiddler就可以写js表达式,charles也不行。这个功能还是很需要的
可以通过插件或ruleFile结合resReplace动态生成规则做这个事情
好的,谢谢
No branches or pull requests
比如 test.html 里面有个<script src="test.js"></script>,我想拦截这个test.js,但是因为有缓存,所以浏览器不会发起请求,拦截失败。因此,想要替换成<script src="test.js?时间戳"></script>,这样就能发起请求了。
The text was updated successfully, but these errors were encountered: