Skip to content

Add cache configuration for Flysystem resolvers #1624

@mbabker

Description

@mbabker

It would be nice if the Flysystem resolver supported a cache configuration to simplify cached lookups when using Flysystem adapters. For one of our clients, we effectively have to build these services ourselves in our application and configure the loaders to use these manually defined services instead of the bundle handling this natively.

We're using the AsyncAws package and its Flysystem adapter for a client using AWS S3 as their storage backend and we use the PsrCacheResolver to cache the resolved URLs to avoid the API calls that the adapter makes when the cache manager's resolve() method is triggered, allowing us to store these resolved URLs in the cache for slightly improved performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions