DDF-469: javadoc on ResourceCacheInterface, 0 max size translates to max size not being enforced, improved performance of tests.