cachedWithinFlush

Removes one cached query, function or HTTP result from the cache. Returns true when an entry was removed.

cachedWithinFlush(cacheObject [, arguments]) → returns boolean

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

Argument Reference

cacheObject any
Required

The query, function or HTTP result that was cached with cachedWithin.

arguments any

For a cached function, the arguments used for the cached call, as an array or struct.

Examples
Sample code invoking the cachedWithinFlush function

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

Fork me on GitHub