payacom e1abb40cc6 Reduce media bandwidth: compress uploads, add long-lived cache headers, gzip API
- Resize/re-encode every uploaded image server-side (posts, avatars, stories,
  shop products/logo, chat messages) via a shared sharp-based optimizer —
  caps dimensions to what's actually displayed and re-compresses in place,
  cutting a typical raw camera photo by ~90% with no visible quality loss
- Cap uploaded video resolution/bitrate (re-encode only when above 1280px/
  ~2.5Mbps) alongside the existing faststart step; apply faststart+cap to
  story and chat videos too (previously stored completely raw)
- Add long-lived Cache-Control to all /storage static routes so clients stop
  re-downloading unchanged media on every request
- Add gzip/brotli compression for JSON API responses (feed/explore/chat)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-15 17:55:09 +03:30
2026-08-31 20:45:41 +03:30
2026-09-13 21:32:36 +03:30
2026-08-31 20:45:41 +03:30
2026-09-13 21:32:36 +03:30
2026-09-13 21:32:36 +03:30
2026-09-13 21:32:36 +03:30
2026-08-31 20:45:41 +03:30
2026-09-13 21:32:36 +03:30
2026-08-31 20:45:41 +03:30
2026-07-04 19:24:56 +03:30
2026-09-13 21:32:36 +03:30
2026-08-31 20:45:41 +03:30
2026-07-04 19:24:56 +03:30
2026-07-04 19:24:56 +03:30
2026-07-04 19:24:56 +03:30
2026-07-05 16:47:54 +03:30
2026-08-31 20:45:41 +03:30
2026-07-11 20:52:56 +03:30
2026-07-04 19:24:56 +03:30
2026-07-04 19:24:56 +03:30
Description
No description provided
Readme 1.1 GiB
Languages
JavaScript 99.3%
Shell 0.6%
DIGITAL Command Language 0.1%