Comments (5)
很高兴能收到你的提问,根据我们公司现在的业务,再获取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.
那是不是可以把cache这部分独立出来,根据业务来取?
或者加一个开关,由业务来决定如果cache中有就从cache中取?
现在放在这里的作用应该只是在加载数据的时候先从cache中取出来防止出现空白页?
from ddmodel.
目前来说只是完成了你说的这个需求,如果真的想把缓存层做好的话需要服务端的配合,把一些不常改变的数据缓存在本机,写好更新策略。
from ddmodel.
3226290100我的QQ,可以加一下,以后多交流。
from ddmodel.
使用pod下来的编译报错,提示没有64位架构支持,xcode 版本6.3.1
from ddmodel.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddmodel.