July 3, 2008

Pages


Search Site


Topics


Useful Links

Blogs I Read


Archives

Introducing Kona Cache: Java-Powered ColdFusion Caching

September 06 2007 by Andrew Powell
There is a crucial element to this cache provider, the three-element cache key. It is recommended that you use a key in the style of ("myCFCName.myFunctionName.UniqueIdentifier"). The key is structured so that it can properly organize the cache for retrieval. Full documentation is provided in the /doc folder along with the application jar file. To install, simply drop the jar file into your ColdFusion Server's classpath. To invoke (usually in the application scope, so it can persist through the life of the application) use the following code: <cfset application.cacheEngine = creatObject('java','com.universalmind.cacheProviders.KonaCache').init()/> This creates a cache instance with a default of 16 top level objects. If you wish to change this, you can specify it in the init() function. Like I said earlier, there is a JavaDoc that is included in the download.

Posted in Java | ColdFusion | Caching | 0 comments

0 responses to “Introducing Kona Cache: Java-Powered ColdFusion Caching”

Leave a Reply