Skip to content

缓存Cache-Control #27

@iamzhengkai

Description

@iamzhengkai

既然在请求时已经通过Cache-Control方式设置离线时保存缓存4周,为什么还要在请求成功返回时,再次手动缓存呢?
WeiXinPresenterImpl.java
getWeixinNews OnNext中
mCacheUtil.put(Config.WEIXIN + page, mGson.toJson(txWeixinResponse));
不太理解,能解释下吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions