Changeset 838

Show
Ignore:
Timestamp:
08/02/07 22:45:34 (6 years ago)
Author:
lmajano
Message:

It does not cache beans by default. You have to set it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • coldbox/trunk/src/system/plugins/ioc.cfc

    r827 r838  
    110110                                <!--- Get Object's MetaData, For Caching ---> 
    111111                                <cfset MetaData = getMetaData(oBean)> 
    112                                 <!--- By Default, services with no cache flag are set to true ---> 
     112                                <!--- By Default, services with no cache flag are set to false ---> 
    113113                                <cfif not structKeyExists(MetaData,"cache") or not isBoolean(MetaData.cache)> 
    114                                         <cfset MetaData.cache = true> 
     114                                        <cfset MetaData.cache = false> 
    115115                                </cfif> 
    116116                                <!--- Test for caching parameters --->