Skip to main content
This topic has been closed for replies.

1 reply

Charlie Arehart
Community Expert
Community Expert
April 2, 2013

The last section here seems incorrect. It talks about the code needed in the ehcache.xml to create a user-defined cache, but then the code block shown is all CFML. That should NOT go into that XML file. Perhaps it's meant to show how to use the custom cache once created, but the preface to the final code block says clearly, "Edit ehCache.xml (cfroot/lib)to set the properties for user-defined caches as shown in the following example:"

Until this is corrected, folks interested in the concept of creating and using a custom cache would do well to check out Rob Brooks-Bilson's blog entry on the topic:

http://rob.brooks-bilson.com/index.cfm/2011/6/22/User-Defined-Caches-in-Coldfusion-90-and-901

/Charlie (troubleshooter, carehart. org)