def get_cached_placeholder_output(parent_object, placeholder_name):
    if not PlaceholderRenderingPipe.may_cache_placeholders():
        return None

    language_code = get_parent_language_code(parent_object)
    cache_key = get_placeholder_cache_key_for_parent(parent_object, placeholder_name, language_code)
    return cache.get(cache_key)
Return cached output for a placeholder, if available.
dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/rendering/main.py/get_cached_placeholder_output