Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Implement "Cache, then Network" strategy #180

Closed
jeffposnick opened this issue Jan 13, 2015 · 0 comments · Fixed by #195
Closed

Implement "Cache, then Network" strategy #180

jeffposnick opened this issue Jan 13, 2015 · 0 comments · Fixed by #195

Comments

@jeffposnick
Copy link
Contributor

As described at http://jakearchibald.com/2014/offline-cookbook/#cache-then-network, this is appropriate for feeds where it's appropriate to initially display cached content, which is then updated with fresh content. We'd initially use this for the social feed (#13) and perhaps the I/O extended feed, but it may end up being used for the session feeds as well.

There are two components to the work: writing a helper function that executes on the page and makes the two requests, and writing a shed handler that responds to the requests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant