Just went through this yesterday. Basically you can add a space or change the query so CF thinks it's a new query and it won't use the cached version. However, that only works for a single query. Otherwise, you have to restart the server.
Jeff Guillaume wrote: > I fear I already know the answer to this, but is it possible? > > We use cachedwithin queries all over the place and want to be able to "flush" > CF's memory when needed to reflect changes from the database immediately. Is > there any way to do this other than restarting the CF service? I know you > can zero out the cachedwithin times, but that doesn't seem feasible as the > caches are in all sorts of CFCs and have various timeouts assigned. > > Thanks. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252377 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4