Code Monkey home page Code Monkey logo

Comments (5)

openboy2012 avatar openboy2012 commented on July 24, 2024

很高兴能收到你的提问,根据我们公司现在的业务,再获取URL的数据是保证数据的实时性

Sent from my iPhone

On Apr 27, 2015, at 15:41, wander [email protected] wrote:

写的非常不错,只是有一个地方没看明白,dbSuccess,如果我已经从cache中取到了数据了,为何还要通过url去拉取一次?


Reply to this email directly or view it on GitHub.

from ddmodel.

wander112900 avatar wander112900 commented on July 24, 2024

那是不是可以把cache这部分独立出来,根据业务来取?
或者加一个开关,由业务来决定如果cache中有就从cache中取?
现在放在这里的作用应该只是在加载数据的时候先从cache中取出来防止出现空白页?

from ddmodel.

openboy2012 avatar openboy2012 commented on July 24, 2024

目前来说只是完成了你说的这个需求,如果真的想把缓存层做好的话需要服务端的配合,把一些不常改变的数据缓存在本机,写好更新策略。

from ddmodel.

wander112900 avatar wander112900 commented on July 24, 2024

3226290100我的QQ,可以加一下,以后多交流。

from ddmodel.

jimckylin avatar jimckylin commented on July 24, 2024

使用pod下来的编译报错,提示没有64位架构支持,xcode 版本6.3.1

from ddmodel.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.