should be able to enable caching for a model
stub implementation for cache enabled flag behavior
caching should prevent consecutive calls to find from hitting the resource
decorate resource object if cache is enabled and use dummy cache object for storing values
findAll should warm up the cache for find
a cached resource inspects results from findAll to populate cache
deduplicate information
caching should prevent consecutive findAll() calls from hitting the resource twice
rename cache to instanceCache
add a parallel collectionCache for findAll results
rename cache-resource to cached-resource
split model caching behavior tests from model option tests
direct tests for cached-resource based on cached model test suite
a cached resource has a stream of expiration events that can be overridden through options
expiration event should clear individual instance cache
hook to expirations stream and reset instance cache object
expiration should also clear collections
collection cache also cleaned on expiration event
should be able to inject a cache storage with the same signature as localForage
update ag-resource-loader-json to 0.3.3 with support for name on created resources