Cache Rules Ignored?

I have a POST endpoint that doesn’t not return a cacheable filetype by default.

I setup a cache rule that matches on the URI, sets eligible for cache, “Ignore cache-control header and use this TTL” and sets to 5 minutes.

I’ve ran trace to confirm the cache rule is being hit.

I’m still receiving “cf-cache-status: DYNAMIC” in my responses. What is going on?

POST requests can’t be cached.

…well, unless you do some hacking around with a Worker.

Huh. Is that documented somewhere? It’s not in Default Cache Behavior · Cloudflare Cache (CDN) docs

It’s not, but it probably should be. Let me see if I can get that added.