weRequest
weRequest copied to clipboard
cache缓存能力改善
- 当前 cache 是针对请求 url 进行的,但是其实接口数据很多时候与参数也相关,需要结合 url + data 的方式一起缓存。
- 缓存达到上限时,需要做过期清理,否则会导致报错。