版本 1.8.1 -> 1.8.2

This commit is contained in:
xmz7891
2026-10-07 15:44:49 +08:00
parent bf15a2ee61
commit aea78efe45
9 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ from collections import deque
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
from pathlib import Path
VERSION = "1.8.1"
VERSION = "1.8.2"
# ---------------- 参数(都能用环境变量覆盖)----------------
@@ -1304,7 +1304,7 @@ class Handler(BaseHTTPRequestHandler):
# ★ 让 Cloudflare 在边缘缓存这个文件。
# 原来这里是 no-store,于是每次下载都要穿隧道回 4G 源站 ——
# 实测吞吐只有 3~67 KB/s(15 MB 的安装包根本下不动)。
# 文件名带版本号(ykxmz-setup-1.8.1.exe),同一名字内容
# 文件名带版本号(ykxmz-setup-1.8.2.exe),同一名字内容
# 永不改变,所以可以放心长缓存。
self.send_header("Cache-Control",
"public, max-age=604800, immutable")