容量管理: zones.rs 直读 nginx file_cache 共享内存记账(双轴: 磁盘 + keys_zone 索引内存), ?scan=1 扫盘上限 20 万文件; POST /api/admin/cache/purge 整区清理(只删文件不删目录, 根治 [crit] mkdir failed); POST /api/admin/cache/invalidate 按制品精准失效(预览->确认两步式, glob/子串, 删除上限 5000/扫描上限 20 万); GET /api/admin/cache 新增 capacity 块; 前端容量面板 + 按制品失效工具条; 测试 test-cache-capacity.sh 48/48(容量 27 + 精准失效 21, 含 EXPECT_MIN 护栏与前端静态契约); docs 容量管理章节
67 lines
8.4 KiB
Plaintext
67 lines
8.4 KiB
Plaintext
127.0.0.1 [20/Sep/2026:17:51:22 +0800] "GET / HTTP/1.1" 302 145 cache=- eco=- uri=/ rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:51:22 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/1 rt=0.021
|
|
127.0.0.1 [20/Sep/2026:17:51:22 +0800] "GET /npm/big/2?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/2 rt=0.019
|
|
127.0.0.1 [20/Sep/2026:17:51:22 +0800] "GET /npm/big/3?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/3 rt=0.020
|
|
127.0.0.1 [20/Sep/2026:17:51:22 +0800] "GET /npm/big/4?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/4 rt=0.013
|
|
127.0.0.1 [20/Sep/2026:17:51:24 +0800] "GET /npm/big/5?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/5 rt=1.495
|
|
127.0.0.1 [20/Sep/2026:17:51:24 +0800] "GET /npm/big/6?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/6 rt=1.443
|
|
127.0.0.1 [20/Sep/2026:17:51:24 +0800] "GET /npm/big/7?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/7 rt=1.438
|
|
127.0.0.1 [20/Sep/2026:17:51:24 +0800] "GET /npm/big/8?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/8 rt=1.436
|
|
127.0.0.1 [20/Sep/2026:17:51:24 +0800] "GET /npm/big/9?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/9 rt=1.434
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/10?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/10 rt=1.927
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/11?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/11 rt=1.934
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/12?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/12 rt=1.930
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/13?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/13 rt=1.925
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/14?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/14 rt=1.921
|
|
127.0.0.1 [20/Sep/2026:17:51:25 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/15 rt=1.928
|
|
127.0.0.1 [20/Sep/2026:17:51:27 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/1 rt=0.041
|
|
127.0.0.1 [20/Sep/2026:17:51:28 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/15 rt=0.025
|
|
127.0.0.1 [20/Sep/2026:17:51:28 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 47 cache=MISS eco=npm uri=/npm/big/15 rt=0.021
|
|
127.0.0.1 [20/Sep/2026:17:51:28 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 47 cache=MISS eco=maven uri=/maven/keepalive rt=0.049
|
|
127.0.0.1 [20/Sep/2026:17:51:28 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 47 cache=MISS eco=maven uri=/maven/keepalive rt=0.035
|
|
127.0.0.1 [20/Sep/2026:17:51:44 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 47 cache=MISS eco=maven uri=/maven/keepalive rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET / HTTP/1.1" 302 145 cache=- eco=- uri=/ rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/probe?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=npm uri=/npm/probe rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/1 rt=0.019
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/2?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/2 rt=0.019
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/3?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/3 rt=0.023
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/4?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/4 rt=0.023
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/5?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/5 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/6?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/6 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/7?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/7 rt=0.030
|
|
127.0.0.1 [20/Sep/2026:17:52:38 +0800] "GET /npm/big/8?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/8 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/9?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/9 rt=0.020
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/10?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/10 rt=0.020
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/11?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/11 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/12?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/12 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/13?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/13 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/14?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/14 rt=0.018
|
|
127.0.0.1 [20/Sep/2026:17:52:39 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/15 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:52:48 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/1 rt=0.013
|
|
127.0.0.1 [20/Sep/2026:17:52:48 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 204800 cache=HIT eco=npm uri=/npm/big/15 rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:52:49 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=maven uri=/maven/keepalive rt=0.027
|
|
127.0.0.1 [20/Sep/2026:17:52:49 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=HIT eco=maven uri=/maven/keepalive rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:53:07 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=maven uri=/maven/keepalive rt=0.021
|
|
127.0.0.1 [20/Sep/2026:17:54:26 +0800] "GET / HTTP/1.1" 302 145 cache=- eco=- uri=/ rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:54:26 +0800] "GET /npm/probe?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=npm uri=/npm/probe rt=0.011
|
|
127.0.0.1 [20/Sep/2026:17:54:26 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/1 rt=0.011
|
|
127.0.0.1 [20/Sep/2026:17:54:26 +0800] "GET /npm/big/2?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/2 rt=0.012
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/3?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/3 rt=0.013
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/4?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/4 rt=0.011
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/5?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/5 rt=0.013
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/6?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/6 rt=0.012
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/7?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/7 rt=0.026
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/8?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/8 rt=0.024
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/9?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/9 rt=0.049
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/10?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/10 rt=0.021
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/11?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/11 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/12?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/12 rt=0.019
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/13?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/13 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/14?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/14 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:54:27 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/15 rt=0.017
|
|
127.0.0.1 [20/Sep/2026:17:54:40 +0800] "GET /npm/big/1?bytes=204800 HTTP/1.1" 200 204800 cache=MISS eco=npm uri=/npm/big/1 rt=0.032
|
|
127.0.0.1 [20/Sep/2026:17:54:41 +0800] "GET /npm/big/15?bytes=204800 HTTP/1.1" 200 204800 cache=HIT eco=npm uri=/npm/big/15 rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:54:41 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=maven uri=/maven/keepalive rt=0.029
|
|
127.0.0.1 [20/Sep/2026:17:54:41 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=HIT eco=maven uri=/maven/keepalive rt=0.000
|
|
127.0.0.1 [20/Sep/2026:17:54:58 +0800] "GET /maven/keepalive?bytes=1024 HTTP/1.1" 200 1024 cache=MISS eco=maven uri=/maven/keepalive rt=0.012
|