I just had another look at CacheBoxAgent.cfc and it's larger than I
remembered at just under 340 lines. So we'd be talking about ~340 to
~440 and ~15kb to ~20kb in terms of file size. Although it's already
the 4th largest file in the distribution just because it has to
support content expiration with the % wildcard. I don't think any of
that is really make or break for the idea of putting it into the
agent.
After having thought about it a bit longer however, my gut says that
there may be a fair amount of difference of opinion with regard to how
the runMethod() feature works. You and I may like the tilde as a
replacement for the % symbol, others may not, or they may have some
other idea about how it ought to format the string.
So at this point I'm actually leaning toward putting it in the
CacheBoxNanny.cfc in order to limit potential version-dependency
issues that might crop up from people fiddling much with the agent.
Not that fiddling is a bad thing -- fiddling is fine, but it helps to
design systems with fiddling in mind. ;)
I want to wait though and see if anyone else weighs in on it in the
next week. If we haven't heard any other thoughts by next Monday then
I'll go ahead and implement it in the official release version.