看这次咋样
This commit is contained in:
@@ -65,3 +65,9 @@
|
|||||||
- 根因推测:①git pull 因「实时更新」自动提交造成的 origin 分歧未快进;②OPcache `validate_timestamps=Off` + 陈旧编译视图未清。已在 `docs/SECURITY_SEO_REMEDIATION.md` 写入「上线实测扫描」章节 + 服务器修复命令(`git reset --hard origin/main` + `view:clear`/`config:clear` + 重载 PHP-FPM 刷 OPcache)。
|
- 根因推测:①git pull 因「实时更新」自动提交造成的 origin 分歧未快进;②OPcache `validate_timestamps=Off` + 陈旧编译视图未清。已在 `docs/SECURITY_SEO_REMEDIATION.md` 写入「上线实测扫描」章节 + 服务器修复命令(`git reset --hard origin/main` + `view:clear`/`config:clear` + 重载 PHP-FPM 刷 OPcache)。
|
||||||
- 速度:首页热 TTFB≈0.17s、子页≈0.12s(好),gzip 已开;但 Cache-Control 全程 no-store(无缓存),且依赖外部 `cdn.tailwindcss.com`(Tailwind Play CDN,拖慢首屏且是 SEC-01 根因),无 CDN。
|
- 速度:首页热 TTFB≈0.17s、子页≈0.12s(好),gzip 已开;但 Cache-Control 全程 no-store(无缓存),且依赖外部 `cdn.tailwindcss.com`(Tailwind Play CDN,拖慢首屏且是 SEC-01 根因),无 CDN。
|
||||||
- SEO/GEO 评级(线上=陈旧版):综合约 C-;正确部署 63431dd 后可达 B(良好基础),到 A 仍需解决标题规范/多 h1/CSP unsafe-inline/no-store/CDN 等遗留项。
|
- SEO/GEO 评级(线上=陈旧版):综合约 C-;正确部署 63431dd 后可达 B(良好基础),到 A 仍需解决标题规范/多 h1/CSP unsafe-inline/no-store/CDN 等遗留项。
|
||||||
|
|
||||||
|
## 服务器环境补充(2026-08-09 续)
|
||||||
|
- 系统:**Alibaba Cloud Linux 3.2104 LTS 64位**(RHEL8 系,包管理 yum/dnf),由**宝塔面板**管理。
|
||||||
|
- **git 默认不预装**,需 `yum install -y git`(装到 /usr/bin/git,已在 PATH,无需软链);宝塔软件商店无 git 包。
|
||||||
|
- **php 由宝塔装在 /www/server/php/XX/bin/php**,默认不在 PATH;WebHook/非交互环境跑 `php artisan` 前需 `ln -sf` 到 /usr/local/bin/php。
|
||||||
|
- deploy.sh 当前卡点:git 未安装 → 已指导 yum 安装 + php 软链。下一步可能卡 git pull 连 git.coolcoth.com 的鉴权。
|
||||||
|
|||||||
Reference in New Issue
Block a user