dillon1000/react

Commit

[simple-cache-provider] Use LRU cache eviction (#12851)

* [simple-cache-provider] Use LRU cache eviction

Max size is hard-coded to 500. In the future, we should make this
configurable per resource.

* Evict PAGE_SIZE records from cache when max limit is reached
Browse files
Changed paths2 files
First-parent comparison
M packages/simple-cache-provider/src/SimpleCacheProvider.js ModifiedM packages/simple-cache-provider/src/__tests__/SimpleCacheProvider-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…