RE: [coldbox:17731] Caching a singleton so it expires

I’m just getting back into town and catching up on E-mails so I apologize if you’ve already got this figure out but there are several ways to accomplish this. The easiest might be to have WireBox persist your CFC in CacheBox with a timeout of 30 minutes. Never autowire a direct instance of the CFC in-- use a provider or ask WireBox for it every time. You will get a fresh object (with newly-loaded data) every 30 minutes.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com