Using the Cache Application Programming Interface
Cache object exposes the main application programming interface for caching. This object supports the following properties:
Represents the number of items in the cache.
Represents the size of the cache in kilobytes.
Cache object also supports the following methods:
Enables you to add a new item to the cache. If the item already exists, this method fails.
Enables you to return a particular item from the cache.
Enables you to iterate through all the items in the cache.
Enables you to insert a new item into the cache. If the item already exists, this method replaces it.
Enables you to remove an item ...