Why do I see what images are sent from my server?

Hello, I am a user of cloudflare free for a few months, when reviewing my Apache server logs, I see that some images are still served by my server, why is that happening? Shouldn’t they be sent from cloudflare?

see https://support.cloudflare.com/hc/en-us/articles/360021806811-Getting-Started-with-Cloudflare-Caching

particularly https://support.cloudflare.com/hc/en-us/articles/202775670

basically CF will cache based on your cache control headers but unmentioned exception is if the cached asset/file isn’t frequenty used, it will be purged i.e. you cache .png image for 1 yr but the .png image hasn’t been requested in several months, the CF will in all likely hood purge it from their cache. This is what I have been told.

See https://support.cloudflare.com/hc/en-us/articles/115003206852 as well. Basically, as long as the assets/files are frequently requested, you can be sure they’re served from per data center cache for length of your cache control specifications. Ask yourself, would you care if a infrequently used file is purged earlier from cache if it has only ever been requested a few times over time ?

Thanks to @eva2000 for the above comment (original)


thanks for your answer, but assuming I have all the settings ok, why do I see that for example google bot still downloads images from my server and not from cloudflare?

This topic was automatically closed after 30 days. New replies are no longer allowed.