perf(cdn): publish demo WASM as brotli-q11 + no-transform
release.yml's publish-wasm job now uploads .wasm/.js with `--compress br --quality 11` instead of gzip-6, and IMMUTABLE content-addressed blobs carry `no-transform` so Cloudflare's edge can't decompress + re-serve them at its on-the-fly br-4 (and the original Content-Length passes through). ~15-20% smaller wasm on cdn.pcbjam.com. Forward-only: tool folders already published stay gzip until their source changes (identity is hashed over uncompressed bytes, so the compressor switch never re-versions or re-uploads existing folders). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e7640d0a97
commit
b5ee3da92c
2 changed files with 5 additions and 2 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
- name: Publish WASM to CDN
|
||||
run: >
|
||||
node scripts/deploy/publish-wasm.mjs --tag "${{ needs.meta.outputs.tag }}"
|
||||
--src output --driver r2 --bucket "$BUCKET" --remote --compress gzip
|
||||
--src output --driver r2 --bucket "$BUCKET" --remote --compress br --quality 11
|
||||
|
||||
# 3) Build the standalone pinned to this tag's manifest + libs, deploy to Pages.
|
||||
deploy-demo:
|
||||
|
|
|
|||
Loading…
Reference in a new issue