Renamed lruCache to cacheSize to be clearer and hide cache implementation