LitterSun
LitterSun
我是使用了ByteArrayOutputStream存储的,速度明显改善很多,而且体积也减小了,大侠可以测试下看看。
> 缓存数据加密了吗? 我通过url后缀判断,如果是png等静态资源是不加密直接存储bytes,json还是直接通过DiskCacheStore。因为DiskCacheStore只是针对大文件缓存效率很低。
具体是什么case?能够描述下吗?
我明白了,但是我当时做这个lib的初衷就是不想影响代码逻辑,只是一个轻量级的AOP。你这个是类似replace操作,我评估下吧
> Would the correct behaviour be supporting body delay works for response codes requiring a body? I have the same problem, and I think you still need to support body...
添加okhttp的依赖 implementation 'com.squareup.okhttp3:okhttp:3.10.0'
I'm also having this problem and I now have to downgrade to version 2022.3. GrepConsole is a necessity for me now, hope to solve this problem soon.
> It works for me, thanks @simoneguidialea
I also encountered the same problem. How did you solve it?
遇到同样的问题,已经放弃引入了。