Have a look at:

http://spike.oli.tudelft.nl/jochemd/index.cfm?PageID=10

Which talks about some of the service factories available. Under "RunTimeService" there are some caching related methods, e.g. setTemplateCacheSize() and getTemplateCacheSize(). Maybe setting the template cache size to 0 (and then back to what it was previously) has a side-effect of clearing it? Who knows....

/cody

Paul Roe wrote:
Anyone know of a way to use the servicefactory to have cf clear the cached templates. I'm using cs to do some AOP stuff and I keep getting the following error:
Error Occurred While Processing Request


  Could not find the ColdFusion Component [runtime expression].

I think that it is cache related because it only happens after I make a change to the cs.xml file. I'd get the server admin to do it but he is difficult to work with.


Reply via email to