[BUGFIX] Performance: remove unneeded basename call in CacheManager