Hi, Cloudflare’s documentation has the following description:
“Cloudflare makes customer websites faster by storing a copy of the website’s content on the servers of our globally distributed data centers. Content can be either static or dynamic: static content is “cacheable” or eligible for caching, and dynamic content is “uncacheable” or ineligible for caching. The cached copies of content are stored physically closer to users, optimized to be fast, and do not require recomputing.”
that means cloudflare does not cache dynamic content. So when I put my API service on cloudflare, I don’t need to disable cache, right? Because the API’s data is constantly changing hands.
By the way, I want to ask how to use cloudflare to optimally protect API services.
Thanks.
That depends on the kind of data. If Cloudflare considers the data cacheable by default, then it will be cached.
So here for a full list of what is cached by default and what isn’t:
That question is “somewhat” vague. It really depends on what your goal is.
2 Likes
This topic was automatically closed after 14 days. New replies are no longer allowed.