mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-06-26 05:09:30 +00:00
Implement several performance and security improvements for Express 5: Performance: - Add compression middleware with Brotli support for all responses - Enable WebSocket compression (perMessageDeflate) for terminal data - Exclude compression for SSE streams (/api/sessions/:id/stream) to prevent asciicast issues - Add intelligent caching headers for static assets: - Immutable assets (JS, CSS, fonts, images): 1 year cache - HTML files: 1 hour cache - Enable ETags and Last-Modified headers Security: - Add Helmet middleware for security headers - Disable CSP and COEP to maintain compatibility with terminal features Additional improvements: - Remove obsolete @ts-expect-error directives (Express 5 properly types res.flush) - Balanced compression level (6) for optimal performance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| activity-monitor.ts | ||
| auth-service.ts | ||
| authenticate-pam-loader.ts | ||
| bell-event-handler.ts | ||
| buffer-aggregator.ts | ||
| control-dir-watcher.ts | ||
| hq-client.ts | ||
| mdns-service.ts | ||
| process-tree-analyzer.ts | ||
| push-notification-service.ts | ||
| remote-registry.ts | ||
| shutdown-state.ts | ||
| stream-watcher.ts | ||
| terminal-manager.ts | ||