CacheGet()
Gets an object that is stored in the cache.
CacheGet( id=string, throwWhenNotExist=object, cacheName=string );
Returns: object
Examples
cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits');
getcache = cacheGet(id:'abc',cacheName:'fruits');
writeDump(getcache);
See also
- Cache
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)