Version 1.3.1: only call one of the cacheArray methods, not both