def save_cache(cache):
    """
    Save cahce to the disk.

    Args:
        cache (set): Set with cached data.
    """
    with open(settings.DUP_FILTER_FILE, "w") as f:
        f.write(
            json.dumps(list(cache))
        )
Save cahce to the disk.

    Args:
        cache (set): Set with cached data.