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
退出webview,重新进入资源文件重新加载没走缓存。不知道是不是配置的问题,给看看。 WebViewCacheInterceptor.Builder builder = new WebViewCacheInterceptor.Builder(this); builder.setCachePath(new File(this.getCacheDir(),"cache_path_name")) .setDynamicCachePath(new File(this.getCacheDir(),"dynamic_webview_cache")) .setCacheSize(10241024100) .setConnectTimeoutSecond(20) .setReadTimeoutSecond(20) .setCacheType(CacheType.NORMAL); builder.setAssetsDir("static");
WebViewCacheInterceptorInst.getInstance().init(builder);
The text was updated successfully, but these errors were encountered:
目前试下来 ... 好像只要reload,文件就没有走缓存
Sorry, something went wrong.
No branches or pull requests
退出webview,重新进入资源文件重新加载没走缓存。不知道是不是配置的问题,给看看。
WebViewCacheInterceptor.Builder builder = new WebViewCacheInterceptor.Builder(this);
builder.setCachePath(new File(this.getCacheDir(),"cache_path_name"))
.setDynamicCachePath(new File(this.getCacheDir(),"dynamic_webview_cache"))
.setCacheSize(10241024100)
.setConnectTimeoutSecond(20)
.setReadTimeoutSecond(20)
.setCacheType(CacheType.NORMAL);
builder.setAssetsDir("static");
The text was updated successfully, but these errors were encountered: