How to set the default Edge Cache TTL

see Edge and Browser Cache TTL · Cloudflare Cache (CDN) docs

and Cache by status code · Cloudflare Cache (CDN) docs

Edge TTL

By default, Cloudflare caches certain HTTP response codes with the following Edge Cache TTL when a cache-control directive or expires response header are not present.

HTTP status code Default TTL
200, 206, 301 120m
302, 303 20m
404, 410 3m
403 0s
500, 502, 503, 504 0s
1 Like