Clearing Template Cache Article

Today I have an article in the ColdFusion developer center that shows you how to automate the clearing of the trusted cache. It shows how to use a directory watcher event gateway to detect file changes and clear the trusted cache for you. This way even if you have a site that has frequent CFM or CFC changes, you can leave trusted cache on and not have to worry about forgetting to clear it.

Read the Article Here

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Andrew S.'s Gravatar http://www.thedecor.net/
Thanks, Brian! Your articles are very useful!
# Posted By Andrew S. | 9/30/08 12:55 PM
Mark S.'s Gravatar Brian,

Get article. Have you ever tried to get this to work with CF8 with files stored on a storage array. For example: \\172.16.198.2\websites\websites\. Putting in the path doesn't work because the \ is removed when in the cfg file by the event gateway.
# Posted By Mark S. | 12/29/08 9:07 AM