Cache TTL for 3rd party images coming from Youtube

Hello, I am having difficulty figuring out how to set my TTL for the images coming from YouTube, as I have several video thumbnails coming in from there. Is this even possible? Thanks

If you’re loading the thumbnail from youtube’s domain(s) instead of your own, no Cloudflare can’t cache or change the TTL as the request is going to Youtube, not to your domain/through Cloudflare.

You could proxy the image through your server or a worker to cache it, or handle thumbnails entirely yourself (uploading/storing them somewhere else), but probably not worth it.

Damn, thanks for the info! They are my own videos, but I guess that doesn’t make a difference huh?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.