Hello,
I switched off any cache in Railo and ContentBox, i disabled the secondary cache in application.cfc, but something caches my plugin. i need to restart the application in the CB-Admin to get the latest version. After the second edit of the plugin i added cache=“false” too.
Any idea, what i have to shutdown?
cheers
This is really odd. Let’s say, i have this function:
component name=“MyPlugin” extends=“coldbox.system.Plugin” output=“true” accessors=“true” cache=“false” singleton {
function init(controller) {
super.init( arguments.controller );
return this;
}
function Nonsense() {
return “ho ho ho”;
}
}
Works until i change the text in the return value. After reloading the application in CB-Admin, the changed return value will be displayed in pages.cfm
Martin,
You are mixin persistence approaches here:
component name=“MyPlugin” extends=“coldbox.system.Plugin” output=“true” accessors=“true” cache=“false” singleton
You are saying here to not cache, but you also attach a singleton annotation. So that takes precedence and it will be stored as a singleton. If you do not want any persistence then do this:
component extends=“coldbox.system.Plugin” accessors=“true”{
}

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano
Ohh, this was a wrong interpretation or translation of “which lives forever in the application”.
Thanks