Skip to content

warelab/gramene-client-cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Browser-only cache for gramene search client

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%