I have a azure frontdoor with caching enabled on route by deafult the caching is 1 to 3 days how to override it using rules what condition to use so that it executes for all requests.

1

There are 1 best solutions below

1
Imran On

I tried to reproduce the same in my environment I got the results successfully like below.

I have created an azure front door and enabled on route by default Enable caching like below:

enter image description here

To override your caching rule check the below:

In your azure front door -> under setting,-> Front door designer -> click on the routing rule like below:

enter image description here

While updating the routing rule by default it enables use default duration as yes

enter image description here

Click on your routing rule -> choose use default duration as NO** and you can change the duration of caching behavior like below

enter image description here