[WordPress] 外掛分享: Peakspire Font Loading Optimizer

首頁 › 外掛目錄 › Peakspire Font Loading Optimizer
WordPress 外掛 Peakspire Font Loading Optimizer 的封面圖片
全新外掛
安裝啟用
—
尚無評分
16 天前
最後更新
—
問題解決
WordPress 6.9+ PHP 7.4+ v1.2.0 上架:2026-11-07

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Peakspire Font Loading Optimizer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Font loading is one of the largest contributors to Largest Contentful Paint (LCP) on real websites. Peakspire Font Loading Optimizer applies the three highest-impact font fixes, built from hands-on Core Web Vitals engineering on production sites:

Preload local WOFF2 fonts – Scans your enqueued stylesheets for locally hosted WOFF2 files and adds tags, capped at 4 fonts. Preloaded fonts arrive before the browser discovers them inside CSS files, removing the font round-trip from the critical path.

Adds font-display: swap to eligible inline @font-face rules – Rules that already declare an explicit optional, block, fallback, or auto value are never touched. Rules without a descriptor get swap, so text renders immediately with the fallback font instead of sitting invisible while web fonts download.

Remove external Google Fonts (optional) – Dequeues all fonts.googleapis.com requests for sites that have self-hosted their fonts.

Remove dashicons for visitors (optional) – Dequeues the dashicons stylesheet for logged-out visitors, saving a render-blocking request most themes never use on the front end.

Everything is front-end only and safe to use alongside caching plugins (WP Rocket, LiteSpeed Cache, W3 Total Cache, etc.).
Why only local fonts are preloaded
Cross-origin font preloads waste bandwidth when the crossorigin fetch does not match the stylesheet fetch. This plugin deliberately preloads only same-host WOFF2 files, the safe default for virtually all themes that self-host fonts.

延伸相關外掛

文章
Filter
Mastodon