Azure Front Door Cache Hit Ratio Issue by Country

航 鈴木 20 Reputation points
2025-06-12T00:12:50.66+00:00

I have enabled "Enable caching" in the route settings of Front Door Manager within Azure Front Door.

When I checked the cache hit ratio by country in Analytics > Reports > Traffic by Location, I found that some countries have significantly low cache hit ratios.

This issue has been occurring for several months, not just recently.

Could you please provide detailed investigation methods and improvement measures for the above?

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

1 answer

Sort by: Most helpful
  1. G Sree Vidya 2,605 Reputation points Microsoft External Staff Moderator
    2025-06-12T05:50:45.06+00:00

    Hi 航 鈴木

    We understood that you need to check why some countries low cache hit ratios while using Azure Front Door's caching feature.

    Here are a few investigation methods and improvement measure you can try:

    1. Ensure that the caching rules are correctly configured for each routing rule. Make sure that caching is enabled and that the rules aren’t inadvertently set to disable caching for specific content types or origin responses.
    2. Review Analytics Reports: Use the Analytics > Reports > Traffic by Location section to analyze the cache hit and miss counts. This can help identify specific countries with low ratios and potentially correlate issues with specific content or request types.
    3. Refer:https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-reports?tabs=traffic-by-domain
    4. Try to analyse the edge site behaviour where Each Azure Front Door edge site manages its own cache. A request from one country may hit a different edge site than another, leading to:
      • Cold cache in some regions
      • Inconsistent cache population
    5. Investigate Cache Control Headers: Review the origin response headers for requests from countries with low cache hit ratios. Look for headers like Cache-Control, Pragma, or any other cache-related settings that might indicate content should not be cached. Ensure that you're not sending headers that prevent caching.
    6. If you're using geo-filtering, check if there are restrictions that could be affecting which content is being cached based on location.
    7. Keep monitoring the caching report over time to look for trends. It can help in identifying patterns, such as times when cache hits improve or decline.

    Could you please provide detailed investigation methods and improvement measures for the above?

    1.Separate Static and Dynamic Routes:

    • Use different paths or subdomains for static assets (e.g., /images/, /static/)
    • Enable aggressive caching for static routes

    2 Monitor and Tune Regularly:


    I hope this information is helpful! If my answer helped you resolve your issue, please consider marking it as the correct answer or Upvote. This helps others in the community find solutions more easily. Thanks!


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.