---
name: "Plack::Middleware::BufferedStreaming"
section: "3pm"
platform: "linux"
package: "libplack-perl"
version: "1.0051-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Plack::Middleware::BufferedStreaming"
---

# Plack::Middleware::BufferedStreaming(3pm)

Enable buffering for non-streaming aware servers

## NAME

Plack::Middleware::BufferedStreaming - Enable buffering for non-streaming aware servers

## SYNOPSIS

```
  enable "BufferedStreaming";
```

## DESCRIPTION

Plack::Middleware::BufferedStreaming is a PSGI middleware component that wraps the application that uses `"psgi.streaming"` interface to run on the servers that do not support the interface, by buffering the writer output to a temporary buffer.

This middleware doesn't do anything and bypass the application if the server supports `"psgi.streaming"` interface, unless you set `"force"` option (see below).

## OPTIONS

- force

  Force enable this middleware only if the container supports `"psgi.streaming"`.

## AUTHOR

Yuval Kogman

Tatsuhiko Miyagawa
