Skip to content

Caching for both Flutter/native and over several Flutter Engines #178658

@estroh-disney

Description

@estroh-disney

Use case

Problem: Our team requires a lot of caching as our users frequently run in to issues with low connectivity. We would like to have a common cache between Flutter and native. We would also like to have a persistent cache between Flutter engines.

Alternative Solution: Use cached_network_image which uses flutter_cache_manager. This solution isn't being kept up to date, not having been updated in over a year, as well as having many defects.

Proposal

Create a Flutter first-party package that handles caching on disk so that it can be persisted for a Flutter/native solution and a solution over multiple Flutter engines. Since images are one of the most common uses, a simple implementation for caching images over the network would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: imagesLoading, displaying, rendering imagesc: new featureNothing broken; request for a new capabilityc: performanceRelates to speed or footprint issues (see "perf:" labels)c: proposalA detailed proposal for a change to Fluttercustomer: castawaypackageflutter/packages repository. See also p: labels.r: invalidIssue is closed as not validteam-ecosystemOwned by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions