Skip to content

feat: HTTP gzip compression middleware - #477

Open
AaronC-585 wants to merge 5 commits into
ddvk:masterfrom
AaronC-585:pr/13-http-compression
Open

AaronC-585 wants to merge 5 commits into
ddvk:masterfrom
AaronC-585:pr/13-http-compression

Conversation

@AaronC-585

Copy link
Copy Markdown

Summary

  • Compress responses with gzip when the client advertises Accept-Encoding: gzip
  • Decompress request bodies sent as gzip/deflate/zlib

Test plan

  • go test ./internal/app/ -run Compression
  • Browser DevTools shows Content-Encoding: gzip on HTML/JS/CSS responses
  • Clients that omit Accept-Encoding still get uncompressed bodies

Made with Cursor

Aaron C and others added 5 commits September 8, 2026 22:40
Add optional WebAuthn passkeys for the web UI (register, login, manage), gated by RMFAKECLOUD_WEBAUTHN.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add admin Theme Studio and per-user theme picker; connect gauge/prompt/font prefs;
chrome styles (flat, folders, outlines, tabbed); mobile layout from client HTTP headers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Serve the web UI from embedded XML/XSLT and drop the Vite app. Documents
browse like the tablet library, and notebook thumbnails use the Go .rm
renderer on each file's last-opened page.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Compress responses when clients accept gzip; decompress gzip/deflate/zlib request bodies.

Co-authored-by: Cursor <cursoragent@cursor.com>
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