Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidate routes with dynamic parts #229

Merged
merged 3 commits into from
Oct 23, 2021
Merged

Conversation

ofhouse
Copy link
Member

@ofhouse ofhouse commented Oct 23, 2021

This ensures that files that have a dynamic parts in it generate correct invalidation paths in CloudFront.
E.g. /test/[...slug] should generate an invalidation path of the form /test*.

Fixes #140.
Fixes #228.

@ofhouse ofhouse added this to the v0.10.1 milestone Oct 23, 2021
@ofhouse ofhouse merged commit 6026820 into v0.10.x Oct 23, 2021
@ofhouse ofhouse deleted the invalidate-dynamic-parts branch October 23, 2021 17:19
ofhouse added a commit that referenced this pull request Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A way to invalidate the cache of the cloudfront distribution Ensure correct invalidation for slug paths
1 participant