dsh-chat-perf-css

A long conversation that renders many LaTeX formulas at once can become laggy, because the browser keeps styling, laying out and painting content that is off screen. This plugin applies content-visibility: auto to the off-screen message bodies, so that work is skipped and the lag is reduced.

Overview

A long conversation that renders many LaTeX formulas at once can become laggy, because the browser keeps styling, laying out and painting content that is off screen. This plugin applies content-visibility: auto to the off-screen message bodies, so that work is skipped and the lag is reduced.

Installation

Install from GitHub

dsh plugin --profile web add github:Light-EI/dsh-chat-perf-css

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.