CacheWebView icon indicating copy to clipboard operation
CacheWebView copied to clipboard

Hello Yale8848!

Open jtm0609 opened this issue 4 years ago • 3 comments

Mobile: Galaxy s10

Android OS: 10.0

NetWork: WIFI

URL:

LIB Version: ren.yale.android:cachewebviewlib:2.1.8


Hello, yale8848 I'm getting a lot of help thanks to your code. But I have a questions.

builder.setCacheSize(1024 * 1024 * 1500)

there be a performance problem if we designate such a large number?

jtm0609 avatar Mar 15 '21 02:03 jtm0609

I think it have not performance problem , because it use OkHttp OkHttp cache method like under code:

OkHttpClient.Builder builder = new OkHttpClient.Builder()
                .cache(cache)

yale8848 avatar Mar 16 '21 12:03 yale8848

Thank you for answering my question. Oh, isn't it stored in the application package's cache memory? What you're saying is that there's no performance problem because we use the cache memory of okHttp library, right?

jtm0609 avatar Mar 17 '21 00:03 jtm0609

The whole cache solution is the same of OkHttp, so you can check OkHttp lib cache method whether fit for you.

yale8848 avatar Mar 22 '21 10:03 yale8848