cacheConnection
An underlying can-connect
connection used when fetching data from a cache.
DataInterface
A connection that provides access to a cache via DataInterface requests. Several behaviors including fall-through-cache expect this property.
Use
var cacheConnection = connect([
require("can-connect/data/memory-cache/memory-cache")
],{});
var todoConnection = connect([...behaviors...],{
cacheConnection: cacheConnection
});