
內容簡介
Capo 是一款專為優化 WordPress 網站的 <head> 區域而設計的外掛,透過自動排序來提升網站性能,解決標題標籤渲染延遲、資源發現延遲及渲染阻塞等問題,確保關鍵資源優先加載。
【主要功能】
• 零配置:啟用後即自動優化 <head>
• 穩定排序:相同權重元素保持相對順序
• 完全快取相容:與多種快取外掛無縫運作
• 安全的 HTML 標記:尊重 HTML 註解及條件註解
• 實時健康檢查:提供 <head> 區域的健康警告
• 測試模式:可檢查未排序的 <head>
外掛標籤
開發者團隊
原文外掛簡介
In standard WordPress sites, WordPress Core, themes, SEO plugins, analytics scripts, and third-party plugins inject elements into wp_head() in arbitrary order. This can lead to critical performance pitfalls:
Delayed Title Tag Rendering: SEO metadata and large JSON-LD blocks placed before
Delayed Resource Discovery: Preconnects, preloads, and async scripts pushed below dozens of CSS stylesheets.
Render-Blocking Bottlenecks: External synchronous scripts blocking CSS and parser execution.
Capo solves this automatically. By intercepting the page response via output buffering, Capo uses a deterministic, stable sorting algorithm to reorder
elements strictly according to browser critical rendering path priorities.The Capo Head Priority Spectrum
Capo organizes elements into 11 strict priority tiers (Weight 10 down to 0):
Weight 10 (Critical Meta & Viewport):
Weight 9 (Title):
Weight 8 (Critical Resource Hints): , , .
Weight 7 (Async Script):
