Skip to content

Caching partial content #2

@jankapunkt

Description

@jankapunkt

Hey @jamauro this is discussion on potential future improvements.

I was wondering how a ServiceWorker could implement proper caching for partial (streamed) content (206 responses).

This is a potential for usecase of apps that stream audio/video in a recurring fashion (same content streamed repeatedly).

Would you consider this for the future? I would start to work in this in a few weeks if you are interested.

The most changes would be cache key management to include ranges when content is partial. However, there might be some ugly edge cases (at least I experienced them all the time when partial content is involved....)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions