Skip to content

支持安时缓存 #1

Open
Open

Description

@lhyhsx

代码干净,逻辑清晰。

请问能否支持按时缓存的功能?

Activity

  1. kevin-lyn commented on Sep 17, 2015

    @kevin-lyn
    Owner

    @lhyhsx 请问按时缓存的意思是 “一个请求在一定时间内如果被再次调用,就直接返回结果,不请求服务器” 吗?

  2. lhyhsx commented on Sep 22, 2015

    @lhyhsx
    Author

    @kevin0571 正是这样。YTKNetwork这个库的支持按时缓存,设计思路跟你这个差不多,但代码太多,不想用,所以选择你这个,嗨嗨!

  3. RondaHe commented on Sep 28, 2015

    @RondaHe

    很像唐巧的YTK,但这份代码确实简洁很多,缓存在国内垃圾网速的情况下确实很有必要。看我周边的人得出比例,30%的中国移动用户居然还在用着2g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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