Clears all pages from memory pools. This function is deprecated; use inspectTemplates() instead. As of Lucee 6.2.1,
the default behavior has been changed to match inspectTemplates() since forcibly clearing all pages from the pool is inefficient and provides no benefits.
Lucee Function Reference
pagepoolclear()
This Function is deprecated
Example
pagepoolclear([boolean force]):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| force | boolean | No |
When set to false (default in Lucee 6.2.1+), this function behaves like inspectTemplates(), which only reloads changed pages. When set to true, it reverts to the original behavior of forcibly clearing all pages from memory pools, causing unnecessary reloading of unchanged pages. |