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.
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
2026
2024
2023
2025
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.