hero_os_admin: WASM cold-load is large + uncompressed at rest #154

Closed
opened 2026-05-31 14:14:02 +00:00 by zaelgohary · 1 comment
Member

Main shell WASM is ~9 MB served via on-the-fly CompressionLayer at q4 — every cold load re-encodes. public/assets/ accumulates 180+ MB of stale dx-build outputs that never get cleaned.

Goal: pre-brotli-compress at startup so cold loads hit static precompressed bytes (~4-5× wire reduction), and GC unreferenced assets so disk doesn't grow unbounded.

Main shell WASM is ~9 MB served via on-the-fly CompressionLayer at q4 — every cold load re-encodes. public/assets/ accumulates 180+ MB of stale dx-build outputs that never get cleaned. Goal: pre-brotli-compress at startup so cold loads hit static precompressed bytes (~4-5× wire reduction), and GC unreferenced assets so disk doesn't grow unbounded.
Author
Member
6a8ea99
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os#154
No description provided.