Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 321 Bytes

File metadata and controls

12 lines (8 loc) · 321 Bytes

Cache

A Javascript Cache Object. Used for storing objects in the cache to be accessible for later calls.

NOTE :: This class has not yet been field tested and is initial stages and will be updated.

Usage

Cache.set('foo', 'bar');
Cache.has('foo'); // Returns true
Cache.get('foo'); // Returns 'bar'