Fix "Serve static assets with an efficient cache policy" for Cloudflare scripts

pagespeed.web.dev shows “Serve static assets with an efficient cache policy” to increase the cache lifetime for the following Cloudflare scrips. Should I do this and if so how?

https://static.cloudflareinsights.com/beacon.min.js
https://domain.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js

For https://static.cloudflareinsights.com/beacon.min.js, look at the following reco.
It solves it.
How to set cache rules for beacon.js more that 1 day?