You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
User requests {videoId}/master.m3u8
Module calls to api backend api/json/{videoId}
Api responses the json (include 360p and 480p)
Module parses and caches it
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
The text was updated successfully, but these errors were encountered:
There is no support for cache invalidation, mainly because it won't help when there's a CDN in front of this module.
What you can do instead is make a change to the URL - assuming you have some API that generates the master.m3u8 URL to the player, you can make a change there, the module will "see" a new URL, and will perform the mapping request again.
For example, initially you return http://yourdomain/path/version/1/master.m3u8, after the transcoding is finished, you return http://yourdomain/path/version/2/master.m3u8.
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
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
The text was updated successfully, but these errors were encountered: