-
Notifications
You must be signed in to change notification settings - Fork 130
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(response-cache): onTtl
hook to manipulate the cached response
#2392
Conversation
🦋 Changeset detectedLatest commit: 0bbd97f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@envelop/response-cache |
6.3.0-alpha-20250127143711-0bbd97f23b7944a2a75cd5073360438d4051483c |
npm ↗︎ unpkg ↗︎ |
@envelop/response-cache-cloudflare-kv |
2.0.0-alpha-20250127143711-0bbd97f23b7944a2a75cd5073360438d4051483c |
npm ↗︎ unpkg ↗︎ |
✅ Benchmark Results
|
💻 Website PreviewThe latest changes are available as preview in: https://a696e129.envelop.pages.dev |
Perhaps add some documentation and a usage example in the changelog ? |
@EmrysMyrddin Not sure what to document as the only use case I see is ours in the gateway |
Just add its description to the readme :-) so that the documentation. Stays as complete as possible without having to dig though the types. |
@EmrysMyrddin Let me know if it looks good |
onTtl
hook allows to manipulate the calculated TTL