Skip to content

Mapped mode, how to clear json cache ? #1529

Open
@nvtienlg

Description

@nvtienlg

We are testing this module with mapped mode. Everything is working fine, however we don't know how to clear json cache to refetch it

  1. User requests {videoId}/master.m3u8
  2. Module calls to api backend api/json/{videoId}
  3. Api responses the json (include 360p and 480p)
  4. Module parses and caches it
  5. New 720p and 1080p come later (due to long transcoding), api backend already updated

How to force the Module to call api to refresh the json cache for given {videoId} ?
We can set expiration for vod_mapping_cache, but that affects all videos, lets say calling to api is costly

Hope you understand the case. Thank you very much for great module

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