Skip to content

HybridCache: Enable setting expiration based on value in factory #56483

Open
@lindeberg

Description

@lindeberg

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

My HybridCache factory is fetching data from an HTTP API. The fetch response includes a maxAge header, from which I want to set cache expiration.

There's no way of getting the value from the factory method to the expiration setting.

Describe the solution you'd like

Some way to enable this

Additional context

No response

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions