Thank you for reaching out on Microsoft Q&A platform.
As documented here you can use route configuration override action to override the origin group or the caching configuration to use for the request. You will have to set the Cache Behavior to Override always and provide the duration desired. This behavior will only be applied if the response is cacheable. You can go through the document above to set other parameters like Query string caching behavior, Compression based on your requirements.
To apply it to all requests you can set the condition in the following way.
Reference rule :
Additional reference :
Hope this helps! Please let me know if you have any additional questions. Thank you!