# HAMUR_W0194: A route rule's stream: true has no effect

A route rule's stream: true has no effect. Warning `HAMUR_W0194` belongs to `hamur`, config, environment and command line (0001 – 0999).

## Message

```text
HAMUR_W0194 routeRules["<pattern>"].stream: true has no effect: the path is prerendered, and a prerendered page is written whole
```

```text
HAMUR_W0194 routeRules["<pattern>"].stream: true has no effect: the path is cached by isr, swr or cache, and a cached answer is buffered
```

## Cause

A route rule sets `stream: true` for a path that is prerendered or cached by `isr`, `swr` or `cache`. Such an answer is written or stored whole.

## Fix

Remove `stream: true`, or remove the rule key that buffers the path.

````ts [errors/route-rule-stream.ts]
import { defineConfig } from "hamur"

export default defineConfig({
  framework: "react",
  routeRules: {
    "/feed": { stream: true },
    "/blog/**": { swr: 600 },
  },
})
````
