1.0.0 • Published 10 years ago

gramene-client-cache v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Gramene client cache

Browser-only cache intended to reduce the amount of queries that gramoogle makes to gramene-search-client. It wraps lru-cache and json-stable-stringify.

Uses

Keys are deterministically serialized to JSON; the expected use case is that you pass in some object representing some query state and you get a cached response or undefined.