Will change the the Storage type used by the Cache. This can be any class that implements the Storage iterface. ie. LocalStorage,SessionStorage,Storage
Retrieves value from the cache stored with the key
The key used to identify the cached value
value - the value cached
Checks if a key is in the cache
The key used to identify the cached value
value - if the cache contains the key
Logs all values in storage
Adds value to cache with the key as the identifier
The key used to store the cached value
The value to be cached
value - the value stored
Removes a key from the cache
The key used to identify the cached value
Generated using TypeDoc
A Singleton Class that wraps localStorage calls to simply setting and retrieving non-String values. All values stored will be Stringified and all values returned will be parsed back with JSON.parse