Skip to content

ui: build-time gzip compression - #24571

Merged
ngxson merged 4 commits into
ggml-org:masterfrom
ngxson:xsn/gzip_assets
Jun 13, 2026
Merged

ngxson merged 4 commits into
ggml-org:masterfrom
ngxson:xsn/gzip_assets

Conversation

@ngxson

@ngxson ngxson commented Jun 13, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

gzip the asset files at build time (right before llama-ui-embed is called) to save on network bandwidth. can be disabled via LLAMA_UI_GZIP config

note: the version pushed to bucket stays unchanged; this PR only hooks into the conversion assets --> cpp|h

before: full 8MB is transferred via network

image

after: only 2.35MB

image

Requirements

@ngxson ngxson changed the title ui: keep original file name and path ui: build-time gzip compression Jun 13, 2026
@ngxson
ngxson marked this pull request as ready for review June 13, 2026 12:33
@ngxson
ngxson requested review from a team as code owners June 13, 2026 12:33
@ngxson
ngxson merged commit e8067a8 into ggml-org:master Jun 13, 2026
28 checks passed
adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
* ui: keep original file name and path

* fix nocache

* ui: build-time gzip compression
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
* ui: keep original file name and path

* fix nocache

* ui: build-time gzip compression
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
* ui: keep original file name and path

* fix nocache

* ui: build-time gzip compression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants