79832967

Date: 2025-11-28 23:10:44
Score: 0.5
Natty:
Report link

if you want to disable cache using Azure Front Door rule you can use an Action 'Route configuration override' with Caching 'Disabled'.
Condition is another question here. To be sure your rule is triggered there is a good approach with adding second Action which will add your custom response header (for example 'X-MyRule-Version' value 'v1').
Try your condition first but I'm not sure this is the right one since SPA returning the html on every route of your app usually. I created the condition based on Accept request header with 'text/html' value and it works but I'm not sure this is a best solution out there.

Reasons:
  • Blacklisted phrase (1): another question
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex Pog