[WordPress] 外掛分享: Easy Critical CSS

首頁外掛目錄 › Easy Critical CSS
WordPress 外掛 Easy Critical CSS 的封面圖片
50+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
53 天前
最後更新
問題解決
WordPress 6.2+ PHP 7.4+ v1.4.7 上架:2025-04-28

內容簡介

總結:
Easy Critical CSS 是一個輕量級的 WordPress 外掛,可以讓你將關鍵 CSS 添加到你網站上的任何頁面,提高網站的加載速度和性能。

以下是問題與答案:
1. Easy Critical CSS 是一個什麼樣的 WordPress 外掛?
- Easy Critical CSS 是一個輕量級的 WordPress 外掛,用於為網站任何頁面添加關鍵 CSS,以提高網站的加載速度和性能。

2. Critical CSS API 的功能是什麼?
- Critical CSS API 是一個服務,用於生成關鍵和次要 CSS,從而優化網站的 CSS 交付,並提高頁面加載速度。

3. Cloudflare API 用於什麼目的?
- Cloudflare API 用於在生成新的關鍵 CSS 後自動清除 Cloudflare 緩存,確保訪問者可以立即看到更新的樣式。

4. Kinsta Cache Clear 提供什麼功能?
- Kinsta Cache Clear 用於在生成新的關鍵 CSS 後觸發緩存清除,確保更新的樣式可以立即生效,適用於在 Kinsta 主機上運行的網站。

5. Freemius API 主要用途是什麼?
- Freemius API 用於管理許可證、驗證 API 金鑰,處理外掛更新和帳戶管理。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Easy Critical CSS is a lightweight WordPress plugin that lets you add Critical CSS to any page on your site to improve loading speed and performance.
Features:
– Easily add Critical CSS and Secondary CSS to any page
– Secondary CSS removes unused CSS rules and stylesheets, ensuring only a single optimized CSS file loads
– Supports posts, pages, archives, and taxonomy pages
– Fully compatible with caching plugins (WP Rocket, W3 Total Cache, WP Super Cache, etc.)
– Customizable settings for individual pages
– Stores Critical CSS in your choice of the database or as static files
– Optional API service (API key required) for automated Critical and Secondary CSS generation via CriticalCSS.net
– Background processing to generate CSS without blocking page loads or admin actions
Why Use Critical CSS?
Critical CSS ensures above-the-fold content loads first by reducing render-blocking CSS. This helps you boost Core Web Vitals, improve page speed scores, and deliver a better experience to your visitors.
Want to try it out first? You can generate free one-off Critical CSS at CriticalCSS.net and manually apply it to your site using the plugin settings.
External services
This plugin interacts with external third-party services in order to provide its functionality. Below is a detailed breakdown of these interactions:

Critical CSS API (api.criticalcss.net)
This service generates critical and secondary CSS used to optimize your site’s CSS delivery and improve page load times.

Data Sent: The URL, CSS generation preferences, generation status, and HTML content of pages from your website.
When: Data is transmitted only if you have explicitly enabled the Auto generation mode, and occurs whenever Critical CSS or Secondary CSS needs to be generated or regenerated.
Links: Terms of Service, Privacy Policy.

Cloudflare API (api.cloudflare.com)
This service is used to automatically clear your Cloudflare cache after new critical CSS is generated, ensuring your visitors see updated styles immediately.

Data Sent: Authentication credentials (Cloudflare email, API key, and zone ID) and instructions for purging the cache.
When: Data is sent only if CLOUDFLARE_EMAIL, CLOUDFLARE_API_KEY, and CLOUDFLARE_ZONE_ID are defined in your site’s configuration.
Links: Terms of Service, Privacy Policy.

Kinsta Cache Clear (localhost)
If your site is hosted on Kinsta, this plugin can trigger a cache clear after generating new critical CSS, ensuring immediate availability of updated styles.

Data Sent: A cache-clear request to your site’s local server endpoint provided by Kinsta. No sensitive or identifying information is transmitted beyond the local environment.
When: Data is sent only when your site detects that it’s running on Kinsta infrastructure (KINSTA_CACHE_ZONE environment variable is present).
Links: Kinsta Terms of Service, Kinsta Privacy Policy.

Freemius API (api.freemius.com and wp.freemius.com)
Used to manage licensing, validate API keys, and handle plugin updates and account management.

Data Sent: Freemius sends and receives licensing information and plugin activation status, including your site’s URL, plugin version, API key, and licensing details.
When: Data is transmitted only after explicitly opting in through the plugin’s settings page or upon activation of a purchased API key. By default, the plugin does not send any data to Freemius until you explicitly opt in.
Links: Freemius Terms of Service, Freemius Privacy Policy.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon