3 clearCache
One word: don't use clearCache if you can avoid it, or at
least don't come complaining to me that it's slow. Because of the way
clearCache is implemented, what it has to do is examine
every cached version of a component to see if it matches the
arguments you passed (unless you set matchExact, in which
case, don't worry, you won't have any problems), which if you have a
large number of cached versions of a component can be exceedingly
slow, in some cases I've seen, exceeding the documentTimeout.
If anyone can provide a version of clearCache that is fast
and doesn't overly affect normal usage of the cache (read as: read
operations), I would be greatly appreciative.