dsh-gzip
Run the following command in DeepSeek Harness:
dsh plugin install 040822/dsh-gzip
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 040822/dsh-gzip inside DeepSeek Harness to install the plugin; the full source repository is at https://github.com/040822/dsh-gzip.
About this plugin
Anyone who has used the DeepSeek Harness Web GUI has likely hit this wall: open a large session, the history list stalls for ten-plus seconds, and then the browser throws a cold "The user aborted a request." The root cause is that each page of history ships every raw event—for the most recent 50 messages, including all streaming chunks—in one shot, easily ballooning to 4 or even 13 MB, while the server applies no compression whatsoever. On remote links (Tailscale, ZeroTier, easytier) or mobile data, the browser's hard 30-second timeout is almost guaranteed to fire.
dsh-gzip does one focused thing: it layers gzip compression onto /api responses right before they are written out. Under the hood it wraps the /api route handler so that when a request negotiates gzip and the response type is compressible, the payload is compressed on the fly. SSE streams, zip exports, already-encoded responses, and requests without Accept-Encoding are all passed through untouched, and no official internals are modified. In real measurements a 13.4 MB history response shrank to 1.16 MB (a 91.4 % reduction), bringing load time on a 3 Mbps line from roughly 36 seconds down to about 3 seconds—well under the timeout.
If you primarily access the DSH Web interface over a remote network, mobile data, or an uplink-constrained home connection, this plugin delivers an immediate improvement: install it, restart the service, and the history loads. It is positioned as a stopgap—once upstream ships response slimming or native compression, the plugin simply fades into a compatibility role; and if it ever becomes irrelevant, uninstalling it is completely clean with zero side effects.
Use Cases
- Session history times out repeatedly when loading large sessions in the DSH Web GUI remotely
- Mobile data or uplink-constrained home links stall or abort multi-MB history responses
- Remote mesh links (Tailscale, ZeroTier) push 4–13 MB payloads past the 30-second browser timeout
Best For
- Developers who use the DSH Web UI over remote or mobile connections
- Individuals or teams running DeepSeek Harness in bandwidth-limited environments
- Ops staff who want to eliminate load timeouts without modifying source code
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.