How to setup caching rule in front-door-classic mode

Omkar Patil 0 Reputation points
2024-10-29T06:48:12.2233333+00:00

How to setup caching rule in front-door-classic mode

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
857 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 16,720 Reputation points MVP Moderator
    2024-10-29T08:11:29.36+00:00

    Hello Omkar, Welcome to MS Q&A

    To set up a caching rule in Azure Front Door Classic mode, follow these steps:

    1. Access the Front Door Designer: Navigate to your Azure Front Door instance and open the Front Door designer.
    2. Create or Edit a Routing Rule: You can either create a new routing rule or edit an existing one.
    3. Enable Caching: In the routing rule settings, enable caching. You can specify whether to use the default cache duration or set a custom duration.
    4. Configure Cache Behavior:
      • If you enable caching, you can choose to honor the origin response header directive or override it with a specified cache duration.
      • If caching is disabled, Azure Front Door will not cache the response contents.
    5. Use Rules Engine for Advanced Caching: If you need more control over caching, you can use the Rules Engine to dynamically modify caching configurations based on incoming requests.
    6. Testing: Before finalizing your caching rules, thoroughly test all possible scenarios to ensure that user-specific data is not inadvertently cached.

    References:

    Please let us know if any further questions

    Kindly accept answer if it helps

    Thanks

    Deepanshu

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.