def cachebusted_filename_from_contents(byte_array):
    'Utility method to generate a unique filename based on the hash of a given content array (of bytes).'
    return compute_md5_hash(io.BytesIO(byte_array))[:8]
Utility method to generate a unique filename based on the hash of a given content array (of bytes).
def cachebusted_filename_from_contents(byte_array):
    
    return compute_md5_hash(io.BytesIO(byte_array))[:8]