Buffer Issue with Speedtest

1. The problem I’m having:

I’m running a container running open speed test. The download pulls appropriately but the upload is not correct. I contacted them and they said to set request_buffers 35MiB. Documentation says to avoid request buffers if at all possible. So I’m wondering if someone could suggest how best to compensate for this for accurate speed tests through the proxy.

3. Caddy version:


Buffering increases memory usage. Because instead of streaming the data in small chunks, the whole payload (up to the buffer size) is read into memory. :bangbang:

In production environments with untrusted or many clients, this can be a very poor and expensive choice :slight_smile: That’s why we recommend against it.

For a one-off speed test that’s just used temporarily and only with that one client, you can enable buffering.

1 Like

Awesome, thank you for the information on this!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.