services/adapters/redis/redis.adapter.js
function createLocalCache() {
    var localCache = lruCache({ max: 100, maxAge: 60000 });
    return {
        get: function (key) {
            return new Q(localCache.get(key));
        },
        set: function (key, value) {
            localCache.set(key, value);
        },
        del: function (key) {
            localCache.set(key, null);
        }
    };
}
function createLocalCache() {
    var localCache = lruCache({ max: 100, maxAge: 60000 });
    return {
        get: function (key) {
            return new Q(localCache.get(key));
        },
        set: function (key, value) {
            localCache.set(key, value);
        },
        del: function (key) {
            localCache.set(key, null);
        }
    };
}
function createLocalCache ( ) { var localCache = lruCache ( { max : 100 , maxAge : 60000 } ) ; return { get : function ( key ) { return new Q ( localCache . get ( key ) ) ; } , set : function ( key , value ) { localCache . set ( key , value ) ; } , del : function ( key ) { localCache . set ( key , null ) ; } } ; }
Create local cache with same interface as remote
@returns {{get: Function, set: *}}
Create local cache with same interface as remote