What URL to use after update transcription?
Hi, Cloudinary-ans! We are integrating with the transcription service and are building an edit transcription workflow. When we update the transcription file on Cloudinary, the only way we're able to reliably get the new version with latest changes is to request a URL like
https://res.cloudinary.com/dnrbqtetn/raw/upload/v1641513611/playground/vijdxxhqyj2mmm15e5uh.srt
where the version number is simply the current time.
URL without the version number has old content for a while, but eventually it does update. But for the edit workflow, we need to show the latest changes immediately, so we cannot use the unversioned URL.
Is this the right way to implement our use case? Or is there another standard way which we should do? It would be great to know the most reliable best practice here.
Thank you!
-
Hi Steve,
When you are updating a resource, you can add the parameter "invalidate: true" to invalidate the CDN cached copies of a previously uploaded asset. Please note that it usually takes between a few seconds and a few minutes for the invalidation to fully propagate through the CDN.
You could try this and let me know how it goes.
Regards,
Francis
Post is closed for comments.
Comments
3 comments