Skip to content

[web] re-evaluate our image decoding caching strategy #127548

@eyebrowsoffire

Description

@eyebrowsoffire

In flutter/lib/web_ui/lib/src/engine/image_decoder.dart, our image codec tries to evict the underlying image decoder if it isn't used for a few seconds, and then lazily recreate it if needed. This might be complex and unnecessary, we should consider simplifying this and have the decoder simply tied to the lifetime of the codec object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: imagesLoading, displaying, rendering imagesc: proposalA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.platform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions