Skip to content

perf: gzip text responses - #122

Merged
coderbuzz merged 1 commit into
mainfrom
feat/gzip
Oct 16, 2026
Merged

coderbuzz merged 1 commit into
mainfrom
feat/gzip

Conversation

@coderbuzz

Copy link
Copy Markdown
Owner
  • chi middleware.Compress(5, …) for html/css/js/json/svg/manifest; bodies < 1 KB sent plain (minSizeWriter), PNG and WebSocket untouched.
  • Cache-Control of sw.js (no-cache) and static assets unchanged; covered by TestCompress.
  • Cold transfer (Dockify-served): 136 → 44 KB per page (−67%); total incl. Google Fonts 209 → 105 KB. Details: docs/ui-revamp/perf-gzip.md.

Tests: go build ./... && go vet ./... && go test ./... OK; tests/e2e/ui.mjs PASS (auth on, port 18090).

🤖 Generated with Claude Code

Dockify-served cold transfer 136 -> 44 KB per page (-67%); see docs/ui-revamp/perf-gzip.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderbuzz
coderbuzz merged commit 6bc53b0 into main Oct 16, 2026
1 check passed
@coderbuzz
coderbuzz deleted the feat/gzip branch October 16, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant