[WordPress] 外掛分享: WP CSS Merge

首頁外掛目錄 › WP CSS Merge
WordPress 外掛 WP CSS Merge 的封面圖片
全新外掛
安裝啟用
尚無評分
29 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v2.0.1 上架:2019-10-02

內容簡介

WP CSS Merge 外掛透過將本地 CSS 檔案合併成快取包,減少前端樣式表請求,提升網站效能。其安全的包裝引擎確保樣式的依賴性與層疊順序不受影響,並針對不同樣式集創建獨立的包。

【主要功能】
• 合併本地 CSS 檔案以減少請求數量
• 保留 WordPress 管理的依賴性與層疊順序
• 為不同樣式集創建獨立的快取包
• 自動提供原始樣式表以防合併失敗
• 支援多站點,每個站點有獨立快取位置

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.1) 或搜尋安裝

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

原文外掛簡介

WP CSS Merge reduces compatible frontend stylesheet requests by combining local CSS files into cached bundles.
Version 2 uses a safety-first bundle engine:

Preserves the dependency and cascade order managed by WordPress.
Creates different bundles for different style sets instead of sharing one global file.
Keeps external, inline, conditional, RTL, unsupported, and excluded styles unchanged.
Rebases relative image and font URLs to their original public locations.
Writes cache files atomically in the current site’s uploads directory.
Automatically serves the original stylesheets whenever bundling is unavailable or unsuccessful.
Invalidates bundles when source files, versions, settings, locale, or queued style combinations change.
Supports multisite with a separate cache location for each site.

The plugin never downloads remote CSS, contacts external services, or sends telemetry.
Because HTTP/2 and HTTP/3 reduce the cost of multiple requests, combining every stylesheet is not always faster. WP CSS Merge therefore combines only contiguous styles that can be moved safely without changing their behavior.

延伸相關外掛

文章
Filter
Mastodon