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:
Gergő Törcsvári 2026-07-01 12:21:54 +02:00
commit b5ee3da92c
No known key found for this signature in database
GPG key ID: 8E75F2CDE64E5322
2 changed files with 5 additions and 2 deletions

View file

@ -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: