Skip to content

Do we have some config to cache the downloaded fragments in JS memory? #7096

@JackPu

Description

@JackPu

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

Background
Our app is running on some OTT platforms. But there is a lot of limited policy on those platforms especial for browser cache. I mean, if we re-download some fragments from some position, we still get new ones from the HTTP request.

So my question is: Can we provide some config option to control how long of the fragments we can keep in our memory cache? And if we match the cache, we reuse them, not send the new request?

Describe the solution you'd like

I may cache it in our fragment-loader by a number config.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Status

    Nice to have

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions