ch.Cache (Class)
Documentation updated on Fri May 18 2012 12:47:07 GMT-0300 (GMT-03:00), generated by JsDoc Toolkit 2.4.0
Overview
Cache control utility.
- Constructor name: ch.Cache()
- View source on GitHub.
Summary
Classdetail
Properties detail
map (public, object)
Map of cached resources
Methods detail
flush (public)
Clears the cache map
get (public)
Get a resource from the cache
Parameters
-
url: string. Resource location
Returns
- data Resource information
rem (public)
Remove a resource from the cache
Parameters
-
url: string. Resource location
set (public)
Set a resource to the cache control
Parameters
-
url: string. Resource location -
data: string. Resource information