PagePoolClear()
Purges the cfml code (cfm, cfcs) from the cache of compiled bytecode (aka the Page Pool)
This function no longer recommended.
Please use InspectTemplates() instead, which only marks this cache as being dirty, thus triggering a check on use, to see if the underlying cfml file has changed, which is extremely efficient both in terms of memory usage and CPU.
Status:
PagePoolClear( force=boolean );
Returns: Boolean
| Argument | Description |
|---|---|
|
force
boolean,
optional
|
edit
When set to When set to Introduced: 6.2.1.118 |
Usage Notes
editThis only clears the cache for the current Application, plus all Server and Web Context mappings.
Other per Application mappings are not cleared
Examples
edit result = PagePoolClear();
echo(result); // page pool has been cleared
See also
- Cache
- Lucee Server related Tags, Functions and Guides
- InspectTemplates()
- PagePoolList()
- SystemCacheClear()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)