from pathlib import Path


def cache_key(name: str) -> str:
    """ Returns the normalize TTF file name in lower case without preceding
    folders. e.g. `C:\\Windows\\Fonts\\Arial.TTF` -> 'arial.ttf'
    """
    return Path(name).name.lower()