-
Notifications
You must be signed in to change notification settings - Fork 0
Bratn/jcacher
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
** jCacher - small javascript caching utility ** Less than 0.7kb compiled and gzipped Suited for single-page apps. No external dependencies. Compatible with jQuery, Prototype, Closure Library, YUI, MooTools, Dojo, requireJS etc. // Add item to the cache jCacher.add(key, obj [, options, dependencies]); // Get item from the cache jCacher.get(key); // Remove item from the cache jCacher.remove(key); // Clear the entire cache jCacher.clear(); // Event handler for item removed jCacher.removed(callback); // Default cache item settings jCacher.CacheItem.defaults = { sliding: 60, // sec absolute: 60 // sec };
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published