Home icon

Manage caches with precision using Amazon CloudFront Invalidation by Cache Tag

Networking & Content Delivery Blog



This article announces Amazon CloudFront's new Invalidation by Cache Tag feature, enabling developers to invalidate groups of related cached objects using tags instead of individual URLs.

  • Invalidate multiple cached objects with single tag-based request regardless of URL structure
  • Configure cache tags via HTTP response headers from origin (default: x-amz-meta-cache-tag)
  • Supports S3 user-defined metadata or Lambda@Edge for adding cache tags to responses
  • Create invalidations via AWS Console, CLI (prefix tags with #), or API
  • Invalidations propagate globally in under 5 seconds at P95
  • Ideal for CMS, ecommerce, compliance, and video streaming use cases
  • Design tagging strategy using entity-based, category, or hierarchical tags
  • Assign multiple tags per object for flexible, multi-dimensional invalidation control
  • Tag values limited to 256 characters; only first 50 tags cached per object

CloudFront's cache tag invalidation simplifies content management by decoupling invalidation logic from URL structure, improving cache efficiency and reducing origin load.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 29
2026
Amazon CloudFront now supports invalidation by cache tag
Jul 8
2024
Amazon CloudFront announces managed cache policies for web applications
Jan 13
2023
Amazon CloudFront now supports the request header order and header count headers
Apr 2
2025
Amazon CloudFront supports VPC Origin modification with CloudFront Functions

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.