Well my question really is "Is there an API through which I can tell which templates have been executed during the current request?" If CF can show it, I must be able to get at it somehow...
Russ > -----Original Message----- > From: Burns, John D [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 28, 2006 1:45 PM > To: CF-Talk > Subject: RE: tracking which templates are in use > > Yeah, that sounds like you basically have it figured out. You just need > to go through the debug output of which templates were used and log > them. I wish there was some sort of CF log, almost like a web server log > to show you which templates have been used. One thing to consider is > that if a template hasn't been viewed, does that really mean it can be > gotten rid of? You may want to find something to crawl the content of > your pages to make sure there aren't links to pages that maybe haven't > been accessed in the last 6 months but might still be live and available > pages. > > John Burns > > -----Original Message----- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 28, 2006 1:16 PM > To: CF-Talk > Subject: tracking which templates are in use > > We have a huge app with over 10k coldfusion templates. A lot of them > are no > longer being used, but we are not entirely sure which ones. Is there > somewhere I can stick a piece of code (OnRequestEnd.cfm maybe?) that > would > examine the debug output (through possibly some cfadmin functions) and > figure out which templates were used? This way I can log that to a > database, and after running it for a while get a good sense of what > templates are being used and how often. > > > > Russ > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245012 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

