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

feat: support generation integer on headers objects #193

Merged
merged 4 commits into from
Jan 10, 2025
Merged

Conversation

guybedford
Copy link
Contributor

This adds support for a generation integer associated with headers mutations.

This allows for a quick check to determine if headers have been mutated since last seen by some code, useful for systems that need to store derived data based on headers (currently which we need at Fastly for cache state computations).

Copy link
Member

@tschneidereit tschneidereit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me

@guybedford guybedford merged commit 66aa7e1 into main Jan 10, 2025
5 checks passed
@guybedford guybedford deleted the headers-mut branch January 10, 2025 18:16
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.

2 participants