By kim.pepper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
2.x
Issue links:
Description:
The CloudFront Purger module now supports native CloudFront cache tag invalidation via the CloudFront Purger Tags submodule.
What changed:
- Cache tag invalidation support is provided via an experimental submodule (
cloudfront_purger_tags), keeping the base module focused on path-based invalidations. - Cache tags are hashed to 6-character strings using xxHash3 to stay within CloudFront's header size limits.
- A
Cache-Tagsheader is added to responses, integrating with Purge's TagsHeader plugin system. - Hashed tags are sent to CloudFront with a
#prefix in invalidation requests (e.g.,#a1b2c3).
Requirements:
- CloudFront distribution with
CacheTagConfigenabled - The
HeaderNamein your CloudFront config must match the module's configured header name (default:Cache-Tags)
See the CloudFront tag-based invalidation documentation for details on configuring your distribution.