Cache-Control max-age=0

APO showing bad request error so I turned it off, it is not working. I set cache rules Browser TTL and Edge TTL to 2 hours but when I test it there is still Cache-Control max-age=0 which mean I think there is no caching at all. It is not changing. Everything went wrong after updating wordpress and plugins.

RESPONSE HEADERS
Date Tue, 13 Feb 2024 19:48:39 GMT
Content-Type text/html; charset=UTF-8
Transfer-Encoding chunked
Connection keep-alive
vary Accept-Encoding,Accept-Encoding,User-Agent
last-modified Tue, 13 Feb 2024 19:37:12 GMT
Cache-Control max-age=0
expires Tue, 13 Feb 2024 19:48:39 GMT
CF-Cache-Status DYNAMIC