Tell CloudFlare to cache an image in a dynamic response's header


Is it possible to add some header in the dynamic response (JSON) from my origin server, in order to make Cloudflare cache (if not already) a specific image?
To avoid a cache miss from the client who will receive the response.


The two requests aren’t related in any way, so there’s not really any way to instruct CF to cache another resource. The only way you could instruct CF to cache it would be by making sure the image itself has proper cache-control headers.