dsh-cv-warm: A Client Plugin for Optimizing DSH Transcription Scrolling Performance

dsh-cv-warm is a local DSH client plugin that leverages the CSS content-visibility feature to skip layout and paint calculations for offscreen transcript blocks, while pre-rendering content near the viewport to improve scrolling performance in long transcripts. It is particularly well-suited for scenarios involving a large number of KaTeX nodes.

Read More
DSH Chat Perf CSS: Simplifying Rendering for DSH Long Sessions

To mitigate CPU and GPU overhead caused by jank during long DSH sessions, a CSS rule is injected to skip style, layout, and paint for off-screen message text and block-level formulas. This lightweight, zero-dependency plugin is compatible with Chromium, Electron, Firefox 125+, and Safari 18+, and is effective immediately upon installation.

Read More
dsh-chat-content-visibility-auto: DSH Chat List content-visibility:auto Optimization Plugin

`hongweifei/dsh-chat-content-visibility-auto` is a DSH plugin based on the MIT license, designed to optimize the performance of long-session chat lists on Web clients through pure CSS style overlay. By utilizing browser native `content-visibility: auto` and `contain-intrinsic-size` properties, this plugin skips the rendering, layout, and painting of off-screen message nodes, thereby reducing computational costs while keeping the DOM structure unchanged and without replacing any slots. To install, use the `dsh plugin` command to add the GitHub source, or manually configure junctions and package.json; the `dsh web` service must be restarted after installation.

Read More