Skip to content

Commit

Permalink
More grammar fixes for README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Jan 27, 2014
1 parent cd53e32 commit 8ed0c78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ Job priorities:

Cache policies:
===============
- [`AccessTokenController`][9]: data is cached to persistent store. No other fancy things since we can’t get access token automatically.
- [`ConfigurationController`][10]: data is cached in memory and saved to persistent store.
- [`AccessTokenController`][9]: data is cached in memory and persistent store. No other fancy things since we can’t get access token automatically.
- [`ConfigurationController`][10]: data is cached in memory and persistent store.
- In constructor:
- Load data from persistent store and save to memory.
- When data is requested:
- If it is in memory, it will be returned immediately.
- If it is not in memory, it will be loaded from network by an UI job and saved. Subscribers will be notified again.
- Reason for this policy:
- Configuration is not frequently changed so only make network call if the data is unavailable.
- [`ProfilesController`][11]: data is cached in memory and saved to persistent store, but is always synced with server:
- [`ProfilesController`][11]: data is cached in memory and persistent store, but is always synced with server:
- In constructor:
- Load data from persistent store and save to memory.
- When data is requested:
Expand Down

0 comments on commit 8ed0c78

Please sign in to comment.