Caching rules

By default, CDN caches content based on the Cache-Control header you provide. However, you can explicitly define how it should behave if:

  • A header is missing
  • A query string is introduced
  • A particular match condition matches

Here you can find a basic setup for this feature:

As you can see, it gives you a lot of control over the behavior of the service, especially with the Custom caching rules.

Get Hands-On Azure for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.