Namespace: BaseCache

BaseCache

BaseCache it's a simple static cache

Members

staticBarba.BaseCache.dataObject

The Object that keeps all the key value information

Methods

staticBarba.BaseCache.get(key){*}

Cache/BaseCache.js, line 48
Retrieve the data using the key
Name Type Description
key String

staticBarba.BaseCache.reset()

Cache/BaseCache.js, line 57
Flush the cache

staticBarba.BaseCache.set(key, value)

Cache/BaseCache.js, line 37
Set a key and value data, mainly Barba is going to save promises
Name Type Description
key String
value *