Skip to content

Implement global packet caching for the new media tags #6852

@samohovets

Description

@samohovets

http range requests are unreliable for browser caching – very unpredictable behaviour + if user has scrubbed through the whole file, it doesn't cache the whole file

so people who build with Remotion are basically forced to implement some local asset caching (opfs / indexed db / whatever)

on low connections, multiple <Video> is a terrible scene: clips are fighting for the download bandwidth, starting multiple range requests with non-cacheable headers and so on

Solution:

seems like UrlSource is a 300 line implementation, we could try to experiment in userland first, and if it is good, contribute it back

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions