# Fix code highlight cache behavior for streaming markdown · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/e89b05326911562c8183d223df311ed0bebd3c25)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: e89b05326911562c8183d223df311ed0bebd3c25

Requested commit: e89b05326911562c8183d223df311ed0bebd3c25

Commit: e89b05326911562c8183d223df311ed0bebd3c25

Tree: 475c95c8f58bef2707c92de24a30e982b02e6eae

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix code highlight cache behavior for streaming markdown

- Reuse in-flight highlight requests and allow later non-streaming renders to cache results
- Stabilize code block highlight state updates to avoid stale or redundant rerenders
- Export and reuse `fnv1a32` from `diffRendering` for shared cache key hashing

```

## Parents

- [d052d481d8c953b8728d82d3f27b2bbd0d26ac79](https://git.cafe/screen/t3code-personal/commit/d052d481d8c953b8728d82d3f27b2bbd0d26ac79?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/e89b05326911562c8183d223df311ed0bebd3c25?format=markdown)
