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
Never cache thru disk implicitly #3159
Comments
[citation needed] |
It is my opinion, at least I do not want any disk IO for temporary data when HTTP download is involved. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions. |
stale
bot
added
lifecycle/stale
No activity for a long time
and removed
lifecycle/stale
No activity for a long time
labels
Mar 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In a few places in this lib and guzzle/psr7 repo
php://temp
stream is used to store temporary data.Caching thru disk by default is not expected by a HTTP library.
This is a feature request to change all
php://temp
tophp://memory
.If user needs to process huge files, he should pass
php://temp
manually with awareness it can be slow and imply huge disk IO.(related with #3115 as stream processing is the best option vs. buffering the whole response)
The text was updated successfully, but these errors were encountered: