How to find files in Cloudflare CDN

Trying to find a file, uploaded to my website, but it does not get saved in the server. After diagnostics, the file is actually located in Cloudflare.

[~]$ curl -I 'https://register.aseanenergy.org/index.php?gf-download=2021%2F07%2FDRH.VIVY-POSTER-A2-OK.pdf&form-id=66&field-id=21&hash=df0571720a5e256f86d8f3acea47114b20bfe2a594e9ed9384279e6362a105a6'
HTTP/2 200
date: Fri, 27 Aug 2021 13:26:01 GMT
content-type: application/pdf
content-length: 1382986
x-powered-by: PHP/7.4.13
expires: Wed, 11 Jan 1984 05:00:00 GMT
cache-control: no-cache, must-revalidate, max-age=0
x-robots-tag: noindex
content-description: File Transfer
content-disposition: inline; filename="DRH.VIVY-POSTER-A2-OK.pdf"
content-transfer-encoding: binary
x-frame-options: SAMEORIGIN
vary: Cookie
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=nOCPUQjj5yF%2ByN2FRLUqGsXIFy2lm2wjIMx3UT98xl5yk1YIF9vonBD7SbmZQKgTR8nZRBQ1tzUTT5CzIFc9HRtpH%2F13CjvrJH9hVmK3kt8XOCM0gdGwBcVki8ciLu%2BZPZNSgvJ8ZlGChM8%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 6855a10fea14ec76-DFW
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

question is, how to find the file in Cloudflare? For example, I can find files stored in website server through FTP client. How to perform this on Cloudflare?

Cloudflare is not a host. It does not store your files. It can cache files temporarily in order to speed up your website but it does not store anything.

Do a request to your file the normal way and it’ll be returned

1 Like

How to transfer cached file on Cloudflare to the server?

Cloudflare doesn’t cache in that direction. It only caches from the server to the visitor.

And the headers you show indicate “DYNAMIC”, meaning it’s not even cached at Cloudflare.

How does Cloudflare decide files to be cached and stored on server? In my case, some files get stored into my website server and some got cached nowhere to be found in server.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.