store/Cache

dojo/store/Cache

Summary

The Cache store wrapper takes a master store and a caching store, caches data from the master into the caching store for faster lookup. Normally one would use a memory store for the caching store and a server store like JsonRest for the master store.

Usage

var foo = new Cache(masterStore,cachingStore,options);