ColdBox Forums Notification: Post to IOC Object Caching

Title: RE: IOC Object Caching
Thread: IOC Object Caching
Forum: Need Help?
Conference: ColdBox
User: lmajano

Hi Tony,

this is a very specific setting and a setting that should be used
very lightly. ColdSpring provides all the hooks necessary to give you
persistance on your objects. However, there might be cases if you are building
a system that needs to fluctuate on memory due to high availability or load,
THEN you could turn IOC Object caching on and let the coldbox cache manage your
persitance for you. YOu basically tell coldspring that this is a singleton=false
and that you will take care of it in your own fashion.

Again, this is very
specific and most of the time, it should NOT be used. However, the hooks are in
place for you to be able to cache some services and then let the cache expire
them. So please be careful when using this feature.

Luis

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=412E70AC-FF65-CEF6-65F4E9E10CF98011