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

Support inv-by cache dependencies from HAL bodies #426

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Conversation

evert
Copy link
Collaborator

@evert evert commented Mar 17, 2022

The inv-by link is an incredibly useful tool to automatically let resources expire when other resources expire.

In Ketting it was only possible to communicate this if those links appeared in HTTP Link headers.

This PR ensures that the inv-by link is now also supported in:

  • HAL _links
  • HAL _links inside HAL _embedded
  • Any other format that supports links really

The `inv-by` link is an incredibly useful tool to automatically let
resources expire when other resources expire.

In Ketting it was only possible to communicate this if those links
appeared in HTTP Link headers.

This PR ensures that the inv-by link is now also supported in:

* HAL _links
* HAL _links inside HAL _embedded
* Any other format that supports links really
@evert evert requested a review from mhum March 17, 2022 18:41
@evert evert self-assigned this Mar 17, 2022
Copy link
Contributor

@mhum mhum left a comment

Choose a reason for hiding this comment

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

Neat!

@evert evert merged commit c3ec3a2 into main Mar 17, 2022
@evert evert deleted the inv-by-in-hal-body branch March 17, 2022 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants