docs(spider): record get-index and get-index slash variants
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
核心规则:
|
||||
|
||||
1. 搜索页 `/get-index` 或对应搜索入口
|
||||
1. 搜索页 `/get-index`、`/get/index` 或对应搜索入口
|
||||
- cache key 带 `$args`
|
||||
2. 详情页 / 播放页 / 分类页 / 榜单页
|
||||
- cache key 不带 `$args`
|
||||
@@ -48,6 +48,42 @@
|
||||
- 再看 `X-Cache-Mode`
|
||||
- 最后再决定是否需要清前端缓存
|
||||
|
||||
## 2.1 2026-04-17 晚间抽测补充
|
||||
|
||||
新增线上抽测结果:
|
||||
|
||||
1. `www.jpjdxs.com` 详情页、播放页
|
||||
- `200`
|
||||
- `X-Cache-Status: STALE`
|
||||
- `X-Cache-Mode: path-only`
|
||||
- `X-Managed-Spider: managed`
|
||||
2. `www.lgyz.net` 详情页
|
||||
- `200`
|
||||
- `X-Cache-Status: STALE`
|
||||
- `X-Cache-Mode: path-only`
|
||||
- `X-Managed-Spider: managed`
|
||||
3. `www.glae.cc` 首页(Baiduspider)
|
||||
- `200`
|
||||
- `X-Cache-Status: STALE`
|
||||
- `X-Managed-Spider: managed`
|
||||
4. `www.hyjssb.com` 搜索页 `/get/index?wd=test`
|
||||
- `200`
|
||||
- `X-Cache-Status: MISS`
|
||||
- `X-Cache-Mode: path-only`
|
||||
- `X-Managed-Spider: managed`
|
||||
5. `www.hyjssb.com` 搜索页 `/get/index?wd=cachetest&__nocache=1`
|
||||
- `200`
|
||||
- `X-Cache-Status: BYPASS`
|
||||
- `X-Cache-Mode: bypass`
|
||||
- `X-Cache-Bypass: 1`
|
||||
|
||||
这一轮最重要的新结论:
|
||||
|
||||
1. 当前“受管蜘蛛放行 + 动态页缓存安全版”总体仍然生效
|
||||
2. 但搜索页规则不能只匹配 `/get-index`
|
||||
3. 至少部分站点真实搜索入口是 `/get/index`
|
||||
4. 如果 nginx 只写 `/get-index`,这类站点搜索页仍会误走 `path-only`
|
||||
|
||||
## 3. 已验证通过的站点
|
||||
|
||||
当前已人工复测通过的代表站点:
|
||||
|
||||
Reference in New Issue
Block a user