Railo 4.2 Reference
Choose a function:

Function CACHEGET

Gets an object that is stored in the cache.

Example

cacheget(string id,[object throwWhenNotExist,[string cacheName]]):object

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
id string  Yes name of the element to return  
throwWhenNotExist object  No define if the functions throws a exception when the element does not exist (default is false).  
cacheName string  No definition of the cache used by name, when not set the "default Object Cache" defined in Railo Administrator is used instead.