move $PERU_CACHE_NAME logic into core