changes 'cache' option to 'sizeCache'