Nope, I don't let CFCHART generate the file at all. You can use the 'name' attribute to have CF put the generated chart in a variable of that name, rather than writing it to disk. Then you just use CFFILE to write it wherever you want it.
We're not actually caching the charts at all, because they change quite frequently, and most of the cost to generate them is on the database, not the charting engine. Consequently we didn't feel it was worth the hassle of building in a caching mechanism. We just write the file every request, and then delete it when it's been served. So far, we haven't had any issues stemming from this little inefficiency. We have a few charts that only update once a day, but they're rendered with a slightly different mechanism that takes advantage of that fact, including non-dynamic serving (i.e. the web server sends the files back directly, rather than CF). cheers, barneyb On Wed, 09 Mar 2005 12:21:35 -0800, Brook Davies <[EMAIL PROTECTED]> wrote: > Barney, > > Are you copying the file after cfchart has generated it locally, to the > shared location? How do you handle charts that update frequently? > > Brook -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198023 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

