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.


Thanks, Brian! Your articles are very useful!
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.