Unresolved
Details
Assignee
UnassignedUnassignedReporter
Former userFormer user(Deactivated)Priority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Former user
Former user(Deactivated)Priority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 31 October 2022 at 11:38
Updated 21 May 2024 at 23:25
A cluster of related issues to do with the mighty ‘function cachedWithin’ superpowers of Lucee!
(1)
What happens: Lucee’s function caching works even when no function cache is defined in Lucee admin.
What’s expected: if there’s no cache defined, this caching should fail silently; or, the Lucee admin + documentation should be updated so that it’s explained that Lucee falls back to “an internal ram cache (i.e. a good old java struct)” in the absence of a default connection configuration option.
(2)
Lucee admin (server.cfm) reports function cache as having 0 items even though it is provably not empty.
(3)
Lucee admin (server.cfm) function cache clearing button doesn’t work to clear function caches even though the cache is provably not empty.
(4)
Lucee admin (server.cfm) ignores “Develop Mode” when it comes to the function cache; with develop mode enabled, the function cache is still pulled from.
(5)
In code, “SystemCacheClear()” doesn’t work to clear function caches, neither do:
SystemCacheClear(cacheName="all"); SystemCacheClear(cacheName="function");