cacheGetAll

Returns a structure containing all elements inside the cache.

cacheGetAll([filter] [, cacheName]) → returns struct

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

filter string

Key filter for the elements, the filter follows the same rules as the cfdirectory-filter

cacheName string

Definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead

Examples
Sample code invoking the cacheGetAll function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub