Does Cloudflare cache html and php pages?

By default, Cloudflare does not cache HTML or PHP pages, as these are considered dynamic content.

However, Cloudflare does cache static content within those pages, such as images and other resources. If you want to cache dynamic content like HTML or PHP pages, you need to use Cloudflare's cache/page rules to set specific caching behavior.

Submitted: 11-09-2024
Back to Latest Facts Random Next