Skip to content

请教下歌曲切换时缓存问题? #10

@shanzhongke

Description

@shanzhongke

发现你的播放器在每次歌曲切换到新的歌曲时 如果是已经播放过的歌曲 会直接调用缓存返回206 Partial Content (from disk cache) 很好奇这个是怎么实现的?看缓存的返回头部似乎就少了一个Connection?我目前在写一个播放器 但切换时总是重新请求 很费流量 项目是放在githubpage上的 歌曲就在github上 因此有什么办法能从前端实现缓存吗?或者调虾米的api?

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