Cache stream responses
kerwanp opened this issue · comments
Martin Paucot commented
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?