gramene-client-cache
v1.0.0
Published
Browser-only cache intended to reduce the amount of queries that gramoogle makes to gramene-search-client
Downloads
3
Readme
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
.