Use cache to store array definitions