HTML 文件是不是会被缓存? #167
Unanswered
CongratulateWE
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
因为需要减少网络请求,提高资源访问效率,减少服务器的压力,缓存是必不可少的。
为了保证每次更新后用户可以拿到最新结果,我们可以使用修改search的方式来强制更新。
但是 HTML 文件是不是也会被缓存,HTML文件的search是固定的,并不是我们可以去修改的。这个应该如何确保是最新的呢?
Beta Was this translation helpful? Give feedback.
All reactions