feat: 插件使用说明(usage)+ 页面缓存命中统计

- plugin.json 新增 usage 字段(多行文本),后台插件卡片折叠展示;四个内置插件补齐使用说明
- PageCacheMiddleware 记录命中/未命中计数(按日滚动),仪表盘新增「页面缓存」统计卡(条目数 + 命中率),用于判断前台缓存效果、是否需额外加速
- 文档与测试同步
This commit is contained in:
ak
2026-08-12 03:57:22 +08:00
parent 22df17f02a
commit 01861f8809
10 changed files with 60 additions and 5 deletions
+2 -1
View File
@@ -4,5 +4,6 @@
"description": "完善 SEO(结构化数据/OG 标签)+ GEO(llms.txt / Markdown 导出,面向 AI 搜索引擎优化)",
"author": "LaraLog",
"type": "core",
"provider": "Plugins\\Neatstudio\\BlogSeo\\ServiceProvider"
"provider": "Plugins\\Neatstudio\\BlogSeo\\ServiceProvider",
"usage": "无需额外配置,启用即生效:\n- SEO:页面 title/description/keywords、OG/Twitter 标签、JSON-LD(BlogPosting/WebSite)自动输出\n- GEO:/llms.txt 站点摘要、/posts/{slug}.md 文章 Markdown 导出\n- /sitemap.xml、/robots.txt 由核心路由提供\n站点名/描述等在「博客设置 → 站点」配置,社交账号在「博客设置 → 社交账号」配置"
}