You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The author hasn't find a way to cache chunked responses, as their content cannot be retrieved before sending (because sending is done directly through the adapter).
Implementing this could require some changes in the Plug library or even in adapters. A discussion with author of this libraries could be useful.
The text was updated successfully, but these errors were encountered:
We probably don't want to accumulate chunks in memory to rebuild the response, because chunked responses are usually used to stream large responses.
Instead we should consider transforming chunks to 206 Partial Content and let http_cache cache these (unsupported right now) and even combining these chunks to rebuild the initial response (even less supported). This would be particularly interesting when disk backend is used and disk capacity surpasses largely memory capacity.
The author hasn't find a way to cache chunked responses, as their content cannot be retrieved before sending (because sending is done directly through the adapter).
Implementing this could require some changes in the
Plug
library or even in adapters. A discussion with author of this libraries could be useful.The text was updated successfully, but these errors were encountered: