在我的 android 应用程序中,我设置
webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
为 webview 启用缓存。问题是,当网络内容发生变化时(我不知道),它仍然使用旧的缓存内容。如何在不使用缓存的情况下更改在线 Web 内容时自动重新缓存内容?
任何建议将不胜感激。
android caching webview
android ×1
caching ×1
webview ×1