2

Is there a way to have cloudflare cache image downloads, ( content type application/octet-stream, Content-Disposition attachment )? Images are hosted on AWS S3.

1

You can cache the files using cache-headers on the container of your files on the S3.

Simply change the TTLS and this will start caching the files: check out Automatically apply HTTP Headers.

  • Thanks, sadly I have a million files already up there, 305,000 in 4 sizes. Looks like I have to run a script to set the expired header – mconnors Apr 19 '13 at 17:06
  • Shouldn't need to use lots of containers, you should be using folders within the containers. – Simon Hayter Apr 19 '13 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.