[WordPress] 外掛分享: WP Performance

首頁外掛目錄 › WP Performance
WordPress 外掛 WP Performance 的封面圖片
200+
安裝啟用
★★★★
4.9/5 分(28 則評價)
27 天前
最後更新
問題解決
WordPress 6.9+ PHP 8.1+ v2.0.0 上架:2018-12-27

內容簡介

WP Performance 是一款能讓您的 WordPress 網站加速加載的外掛,透過簡單的選項設置,該外掛自動處理快取、資源優化和圖片傳遞,讓網站運行更流暢。

【主要功能】
• 頁面快取:提供靜態 HTML 副本
• CSS 和 JavaScript 最小化與合併
• 圖片延遲加載與格式轉換
• 數據庫清理與定期維護
• 一鍵預設選項:安全、平衡、激進
• 支援 WP-CLI 命令操作

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP Performance makes your WordPress site load faster without the headache. Turn on a few options and the plugin handles caching, asset optimization, and image delivery for you.
Not sure where to start? Open the Overview tab and pick a one-click preset (Safe, Balanced, or Aggressive). You can fine-tune anything afterwards.
Version 2.0 is a complete rebuild with a fast new dashboard and no third-party dependencies. Everything below works together out of the box.
Caching

Page cache – serves a static HTML copy of each page, before WordPress even loads
Block cache – cache just the slow parts of a page, even on pages you can’t fully cache (more below)
Cache preloading – warm the cache from your sitemap
Browser caching – tells browsers to keep files so repeat visits are instant
GZIP compression – sends smaller files to the browser
Object cache – optional Redis drop-in to cut database load
Smart by default – skips logged-in users and WooCommerce/EDD cart pages, and ignores tracking parameters (utm, gclid, fbclid) so clean URLs share one cache
Mobile cache – keep a separate copy for mobile devices when you need it

CSS

Minify CSS (inline and files)
Combine CSS files
Load CSS without blocking the page
Remove unused CSS, per page
Critical CSS
Combine Google Fonts, or host them on your own server
Control font loading (font-display)
DNS prefetch and preconnect hints

JavaScript

Minify JavaScript (inline and files)
Combine JavaScript files
Defer JavaScript
Delay JavaScript until the visitor interacts (great for third-party scripts)
Disable scripts you don’t need, site-wide or per page

HTML

Minify HTML
Remove comments and unneeded markup

Images and media

Lazy load images and videos (uses native browser lazy loading)
Responsive images
Add missing width and height to stop layout shift (better CLS)
Preload your largest image and set fetchpriority for a faster LCP
Convert images to WebP and AVIF
Custom image sizes and one-click thumbnail regeneration
Disable emojis and embeds

Database

Clean up revisions, auto-drafts, trash, spam, transients, and stale cron tasks
Schedule cleanups daily, weekly, or monthly

CDN

Rewrite asset URLs to your CDN, with exclusions

Tools

Overview dashboard with environment health checks
One-click presets – Safe, Balanced, Aggressive
Restore points – roll back to your last five saved configurations
Troubleshooting log with a live viewer
Export and import your settings
Per-page exclusions from the post editor
WP-CLI commands
Multisite support

Block cache
Block cache stores the rendered output of a section of a page and reuses it, even on pages that are not fully cached (like logged-in or dynamic pages). Use it three ways:

Cache block – add the “Cache” block in the editor and put any blocks inside it
Shortcode – [wpp_cache ttl="600"]...[/wpp_cache]

PHP – in a template:
if ( wpp_cache_start( ‘sidebar’, [ ‘ttl’ => 3600 ] ) ) { expensive_render(); wpp_cache_end(); }

You choose how long to cache and whether to keep a separate copy per page, per device, per role, or for logged-in visitors.
Add-ons

Cloudflare – purge cache and control Cloudflare settings
Varnish – auto-purge Varnish cache
Prefetch – prefetch links on hover for instant navigation

WP-CLI

wp wpp flush – clear the page cache
wp wpp flush-blocks – clear the block cache
wp wpp enable – enable WP Performance
wp wpp disable – temporarily disable WP Performance
wp wpp cleanup [] – run a database cleanup (all, trash, spam, revisions, autodrafts, transients, cron)

Languages

English
Hrvatski (Croatian)

Report bugs
Found a bug? Please open an issue on GitHub.

延伸相關外掛

文章
Filter
Mastodon