简体   繁体   中英

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

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.

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:

在此处输入图像描述

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:

在此处输入图像描述

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

在此处输入图像描述

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM