0.2.6-dev: the maintainer's decisions of 2026-10-12 — the 玩法说明 pages' WebP copies are lossy at quality 90 (25.6 MB of PNG → 4.2 MB; lossless stays a GUIDE_WEBP_MODE away) and /healthz?traffic=1 answers the counters to a loopback or private-network client only (a public visitor, also one a local tunnel or proxy forwards, gets the plain report; TRUST_PROXY applies as for the WebSocket limits); golden: unchanged
This commit is contained in:
1 parent
35f4895219
commit
79bb26b317
10 files changed
+71
-26
No files matched your search
+2
-2
@@ -5,8 +5,8 @@
|
||||
- 1 KB 以上的 WebSocket 消息用 permessage-deflate 压缩,一局单人对局的服务器消息实测从 173 KB 降到 60 KB。
|
||||
- 素材地址带内容哈希:浏览器把图片、模型和音频缓存一年,服务器更新、重新解压或 Docker 重建后只重新下载内容变了的文件;哈希存在 `.cache/asset-hashes.json`,`SP_ASSET_INDEX=0` 可关闭。
|
||||
- 支持 brotli 压缩(浏览器只在 HTTPS 页面和 localhost 上使用),`.skel` 和数据文件比 gzip 再小约四分之一。
|
||||
- 本地提取的「玩法说明」教程图另存无损 WebP(25.6 MB → 17.4 MB),看说明时只预载下一页。
|
||||
- 流量统计:`/healthz?traffic=1` 显示服务器发出的各类流量;「问题反馈」的诊断信息增加本页下载量。
|
||||
- 本地提取的「玩法说明」教程图另存 WebP(质量 90,25.6 MB → 4.2 MB),看说明时只预载下一页。
|
||||
- 流量统计:`/healthz?traffic=1` 显示服务器发出的各类流量(只对本机和局域网的访问显示);「问题反馈」的诊断信息增加本页下载量。
|
||||
- 部署指南:固定访问地址、反代开 HTTP/2、Cloudflare 缓存规则。
|
||||
|
||||
## 0.2.5 — 2026-10-12
|
||||
|
||||
Reference in new issue
Block a user