Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

feat(object): add lru cache to object get/put #386

Merged
merged 1 commit into from
Nov 8, 2016
Merged

Conversation

daviddias
Copy link
Contributor

@daviddias daviddias commented Sep 18, 2016

Quick add of an lru-cache to js-ipfs-api for orbit. To make this effort complete we need:

  • Make the data and links calls use the same cache and fallback to object get (this way we can take the RT to the node to fetch the entire node, instead of just fetching parts of it)

@daviddias
Copy link
Contributor Author

This is ready

@dignifiedquire
Copy link
Contributor

LGTM

@daviddias
Copy link
Contributor Author

@haadcode now js-ipfs-api does the caching automatically :)

@daviddias daviddias merged commit 0fefbd1 into master Nov 8, 2016
@daviddias daviddias deleted the feat/lru branch November 8, 2016 12:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants