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

Cache stream responses #2932

Open
1 task done
kerwanp opened this issue Dec 12, 2024 · 0 comments
Open
1 task done

Cache stream responses #2932

kerwanp opened this issue Dec 12, 2024 · 0 comments

Comments

@kerwanp
Copy link

kerwanp commented Dec 12, 2024

Describe the feature

Current behavior

When a stream is used in a cachedEventHandler the cached body is the serialized stream and not the result of this stream.
Resulting in an undesired behavior as the response sent when taken from the cache is the serialized stream.

Desired behavior

When a cachedEventHandler returns a stream, the stream should be return and the response of the stream should be cached as the body.

Additional information

  • Would you be willing to help implement this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant