Plack::...reaming(3)
π NAME π
Plack::Middleware::BufferedStreaming β bestie, this is the middleware that turns on buffering for servers that are not streaming aware β¨
(also hi, you're reading the User Contributed Perl Documentation version of this page, and it's giving very much "helpful friend energy" π«Ά)
π SYNOPSIS π
enable "BufferedStreaming";
that's it. that's the whole vibe check. one line, no notes π
π¦ DESCRIPTION π¦
okay so picture this: Plack::Middleware::BufferedStreaming is a PSGI middleware component and what it does is wrap your application β specifically an app that wants to use the psgi.streaming interface β and make it run on servers that do not support that interface π
how?? by buffering the writer output to a temporary buffer. that's the whole trick. iconic behavior honestly πΈ
but here's the thing, and it's important, so listen up: this middleware doesn't do anything and just bypasses the application entirely if the server does support the psgi.streaming interface β like, it minds its own business, it's not gonna insert itself into a situation that's already handled π
...unless you set the force option (see below π). then it's got main character energy and shows up anyway.
β¨ OPTIONS β¨
forceβ force enable this middleware, but only if the container supportspsgi.streaming. yeah, that's the whole option, and yeah, it's a specific little situation. no cap π
π AUTHOR π
- Yuval Kogman
- Tatsuhiko Miyagawa
and that's a wrap, bestie!! π this page is brought to you by perl v5.42.3, dated 2026-10-18 β yes, from the future, and yes, it still slays β go buffer something, you got this π§π
π¦ where this page comes from
- fedora 43: perl-Plack 1.0055-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Plack 1.0055-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms