Suppose I have a file on CDN (Cloud Files from Rackspace) and a static html page with a link to this file. Is there a way to force this file to be downloaded (so that it does not open in the browser - for example, for mp3)?
We could make our server read the file and set the appropriate header:
header("Content-Type: application/force-download")
but we have about 5 million downloads per month, so we would prefer the CDN to take care of that.
Any ideas?
user263461
source share