cache size locally