Prerequisites
Before you can use JDECACHE, you must:
Define an index
The index specifies to the cache the fields in a record that are used to uniquely identify a cache record.
Initialize a cache
Each group of data that an index references requires a separate cache.