1

I am using a gallery on my website that gets list of images from a JSON sent by a php script. So, the javascript gallery calls PHP backend and it replies with complex JSON where images are specified as object fields. These fields not necessarily include full URLs, merely a path to needed images.

I'd like to use Cloudflare and want these images to be cached there.

How I could learn whether these are cached or not, and make sure that these would be cached and not considered some sort of dynamic content?

1

It is important to note that we only cache certain file extensions by default.

You can, however, use PageRules to extend CloudFlare's caching.

  • Thank you for the reply! How I can be sure that my particular files are cached? If these are not cached for some reason, how I can make them cached? – Askar Ibragimov Jun 13 '14 at 8:27

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.