关于
这个站是谁做的,用了哪些开源的东西。
diff --git a/backend/deploy/nginx-片段.md b/backend/deploy/nginx-片段.md index aacd2ff..62b2243 100644 --- a/backend/deploy/nginx-片段.md +++ b/backend/deploy/nginx-片段.md @@ -72,6 +72,10 @@ location /order/api/cms/ { # 后台发布出来的内容文件:文件名不变、内容会变 → 让浏览器每次都问一下有没有新的 location /content/ { add_header Cache-Control "no-cache"; } location /order/content/ { add_header Cache-Control "no-cache"; } +# 页面本身(2026-10-06 起门户是多页:index / gallery / tools / universe / links / about.html)不缓存:改版后手机浏览器别老吃旧副本 +location ~ \.html$ { add_header Cache-Control "no-cache"; } +# 站点固定信息(群号 / 备案号 / 邮箱):正式服务器上的这份是真实值,部署别用仓库里的占位覆盖 +location = /assets/site-info.js { add_header Cache-Control "no-cache"; } # 后台页面本身不缓存(改版后别人拿到旧页面会调错接口) location /admin/ { add_header Cache-Control "no-store"; } # 画展上传的图(文件名是随机的,可以长缓存) diff --git a/order/assets/jz-pixel-12.woff2 b/order/assets/jz-pixel-12.woff2 deleted file mode 100644 index 20e3836..0000000 Binary files a/order/assets/jz-pixel-12.woff2 and /dev/null differ diff --git a/order/index.html b/order/index.html index e4b4db0..9865e5e 100644 --- a/order/index.html +++ b/order/index.html @@ -7,6 +7,7 @@ + + + + +
+这个站是谁做的,用了哪些开源的东西。
QQ 群:屑钻小窝 123456789