Class Cache
public
Defined in:
../json-api/src/-private/cache.ts:84
Module:
@ember-data/json-api
A JSON:API Cache implementation.
What cache the store uses is configurable. Using a different implementation can be achieved by implementing the store's createCache hook.
This is the cache implementation used by ember-data
.
1 2 3 4 5 6 7 8 |
import Cache from ' -data/json-api'; import Store from ' -data/store'; export default class extends Store { createCache(wrapper) { return new Cache(wrapper); } } |
version public
Module:
@ember-data/json-api
Defined in ../packages/json-api/src/-private/cache.ts:109
The Cache Version that this implementation implements.