I have an application I am moving from BD to lucee. However I am stuck in
a giant pitfall. For speed issues I cache many queries so I don’t have to
go to the database often. But I just can’t find a suitable solution here.
Issue 1: The cachedwithin attribute on cfquery tags does not allow for
uncaching when I use a #CreateTimeSpan(0, 0, 0, 0)#. I am unable to find a
easy way to uncache a specific query.
Issue 2: The filter attribute of does not seem to apply to
an action=“clear”.
The only workable solution I have found is to delete ALL cached queries by
doing
However, this forces EVERY query to uncache which is totally unecessary. I
would hope/expect for this to work, but it does not
Would appreciate input! To test this just change the first line to a valid
datasource.—
here is the relevant bug, i see you have already found it [LDEV-907] - Lucee Thu, Dec 29, 2016 at 7:25 AM, aree <@aree> wrote:
I have an application I am moving from BD to lucee. However I am stuck in
a giant pitfall. For speed issues I cache many queries so I don’t have to
go to the database often. But I just can’t find a suitable solution here.
Issue 1: The cachedwithin attribute on cfquery tags does not allow for
uncaching when I use a #CreateTimeSpan(0, 0, 0, 0)#. I am unable to find a
easy way to uncache a specific query.
Issue 2: The filter attribute of does not seem to apply to
an action=“clear”.
The only workable solution I have found is to delete ALL cached queries by
doing
However, this forces EVERY query to uncache which is totally unecessary.
I would hope/expect for this to work, but it does not
Would appreciate input! To test this just change the first line to a
valid datasource.