Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSCAD9638E-2D2C-48d8-9069-AE5A220B75A6.html
Copy link to clipboard
Copied
The link to the hibernate.org discussion on cache provider efficiency is broken.
Copy link to clipboard
Copied
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:" (The same problem exists in the CF10 docs, and I have added this comment there as well.)
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