[WordPress] 外掛分享: Performance Tweaks

WordPress 外掛 Performance Tweaks 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Performance Tweaks」是 2022-07-08 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2024-11-12,距離現在已有 180 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.3 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

rhoekman |

外掛標籤

speed | Optimize | pagespeed | performance |

內容簡介

為 WordPress 提供簡單而有效的效能調整外掛。

目前,此外掛包括以下效能選項:

ContactForm7 智慧載入程式:在沒有表單的頁面上,移除 ContactForm7 的 CSS 和 JavaScript。

停用前台進階自訂欄位:Advanced Custom Fields(ACF)是一個 WordPress 外掛,用於在網站上建立自訂 Meta Box。大多數網站會在管理區域中使用 ACF 顯示 Meta Box,而很少在前端使用。儘管如此,ACF 也會在前端加載 JS/CSS 檔案,這可能會增加網站前端的資源。

表情符號卸載程式:在頁面上移除表情符號 CSS 和 JavaScript。

延遲 Javascript:為 JavaScript 檔案新增延遲屬性。延遲屬性告訴瀏覽器不要等待腳本。相反地,瀏覽器會繼續處理 HTML 並建立 DOM。腳本則在「背景中」加載,並在 DOM 完全建立後運行。

非同步 Javascript:為 JavaScript 檔案新增非同步屬性。非同步腳本在背景中加載,並在它們被加載後立即運行。

移除查詢字串:從靜態資源中移除查詢字串。WordPress 預設會將查詢字串添加到您網站中使用的所有 CSS 和 JS 檔案中,擁有此查詢字串可能會使一些 CDN 無法緩存這些檔案。

DNS 單頁預取:在單個文章上啟用 DNS 預取,因此當使用者在單個文章、頁面或任何自訂文章類型上點擊首頁連結時,首頁將立即打開而不會延遲。備註:DNS 預取僅適用於 HTTP2。因此,如果您的伺服器不支援 HTTP2,則此功能將無法使用。

停用 XML-RPC:WordPress XML-RPC 是一個旨在標準化不同系統之間通訊的規範。它使用 HTTP 協議和 XML 作編碼機制,這允許傳輸不同的資料。如果不使用任何桌面應用程式來撰寫網誌文章,那麼最好在網站上停用 XML-RPC,因為它可能會用於對網站進行 DDoS 攻擊。

停用 WordPress 心跳:WP 心跳 API 通過呼叫 admin-ajax.php 檔案運作,而在內存較低或共享主機的伺服器上,這可能會顯著減緩網站的速度。

限制文章修訂版本:將文章修訂版本數量限制為最多 5 個。這將有助於減少資料庫的大小。

原文外掛簡介

Simple but effective performance tweaks for WordPress.
Currently the plugin includes the following performance options:

ContactForm7 Smart Loader: Removes CSS and JavaScript from ContactForm7 on pages without a form.

Disable Advanced Custom Fields on Frontend: ACF or Advanced Custom Fields is a WordPress plugin to create custom Meta Boxes on your site. Most sites uses ACF to show meta boxes in the Admin area of the site and rarely use it on the front-end. Despite that, ACF loads, JS/CSS files on the front-end as well which can add more resources on the front-end of your site.

Emoji Unloader: Removes Emoji CSS and JavaScript from pages.

Defer JavaScript: Add the defer attribute to JavaScript files. The defer attribute tells the browser not to wait for the script. Instead, the browser will continue to process the HTML and build the DOM. The script loads “in the background”, and then runs when the DOM has been fully built.

Async JavaScript: Add the async attribute to JavaScript files. Add the async attribute to JavaScript files. Async scripts load in the background and they run immediately after they are loaded.

Remove Query Strings: Remove query strings from static resources. WordPress by default adds a query string to all CSS and JS files used in your site. Having this query string might make some CDNs to not cache these files.

DNS Single Post Prefetch: Enable DNS Prefetching on single posts, so when a user is on single post or page or any custom post type and clicks on the link for homepage then the homepage will open without any delay. Note: DNS Prefetching only works with HTTP2. So, if your server does not support HTTP2 then this will not work.

Disable XML-RPC: The WordPress XML-RPC is a specification that aims to standardize communications between different systems. It uses the HTTP protocol and XML as an encoding mechanism which allows for various data to be transmitted. Are you using any desktop based application to write post for your blog? If not, then its best to disable XML-RPC on your site as this can be used to do a DDOS attack on your site.

Disable WordPress Heartbeat: WP Heartbeat API works by calling the admin-ajax.php file and on server with low memory or shared hosting this can significantly slow down the website.

Limit Post Revisions: Limit the number of Post Revisions to a maximum of 5. This will help to reduce the size of the database.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Performance Tweaks」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
  • Jetpack Boost – Website Speed, Performance and Critical CSS 》使用 Jetpack Boost 優化網頁性能加速你的 WordPress 網站。輕鬆啟用一鍵優化,提升核心 Web 重要指標。, 你是否知道,更快的網站可以:, , 在 Google 搜尋排...。
  • Cloudflare 》這個外掛可以為您做些什麼, , 自動平台優化 (APO), 使用 Cloudflare 的自動平台優化 (APO) 外掛,可將您的 WordPress 網站加速達 300%。APO 讓 Cloudflare 可...。
  • 10Web Booster – Website speed optimization, Cache & Page Speed optimizer 》10Web Booster 是提升網站整體效能的速度優化外掛程式,讓您專注並蓬勃發展 WordPress 網站的創意方面,同時讓我們專心於 WordPress 效能最佳化。透過 10Web ...。
  • NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN 》NitroPack 是一個全方位的網站效能優化服務外掛,它包含了所有使網站加速所需的功能,包括圖片優化、代碼壓縮、快取、CDN (內容交付網路)、延遲載入等等。, ,...。
  • Debloat – Remove Unused CSS, Optimize JS 》這是一個針對進階使用者所設計的外掛,能夠優化CSS載入、移除未使用的CSS,以及提供defer或延遲載入JS的優化功能。, 這是提升核心網頁表現和整體網站效能的完...。
  • Flying Pages: Preload Pages for Faster Navigation & Improved User Experience 》Flying Pages 是一款 WordPress 外掛,可以在使用者點擊頁面前預先加載頁面,讓頁面瞬間載入。, , 它的運作方式是透過注入一小段(1KB gzipped)JavaScript ...。
  • WP Performance Score Booster – Optimize Speed, Enable Cache & Page Preload 》WP Performance Score Booster 可以讓網站更快,加速頁面載入時間,並立即提高服務如 GTmetrix、Pingdom、YSlow 和 PageSpeed 的網站效能分數。, 此外掛程式...。
  • Speed Booster Pack ⚡ PageSpeed Optimization Suite 》「Speed Booster Pack」是一款WordPress外掛,它可以讓你的網站速度更快,讓你在Google PageSpeed、GTmetrix、Pingdom、WebPageTest等主要速度測試服務上得到...。
  • PhastPress 》PhastPress 使用先進技術在加載時顯著改善頁面、腳本、樣式表和圖像。它設計成符合 Google PageSpeed Insights 和 GTmetrix 建議,可以顯著提高您網站的得分...。
  • ezCache 》EzCache 是一款易用且創新的快取外掛,能夠顯著提升您網站的速度。, 該外掛安裝簡單、易上手,不需要高級技術知識,僅需幾個簡單步驟就能大幅提高您的網站速...。
  • Cachify 》Cachify 通過將帖子、頁面和自訂帖子類型作為靜態內容緩存,優化您的頁面載入。您可以選擇通過數據庫、網頁服務器的硬盤驅動器(HDD)、Memcached(僅在 Ngin...。
  • WP Compress – Instant Performance & Speed Optimization 》ically be served an adaptive image that’s optimized for his device and screen size, ensuring a fast and high-quality browsing experience., Overall,...。
  • Swift Performance Lite 》——WordPress外掛介紹——, , 需要速度。WordPress的緩存和性能外掛!, 您創建了它,而我們讓它保持快速!您知道嗎……, 您只有3秒鐘的時間來給來訪者留下印象。不...。
  • Scripts To Footer 》n, 這個小型外掛程式可以把腳本搬至頁面底部的 JavaScript 塊中。請注意,您必須擁有使用wp_enqueue_scripts正確的外掛和佈景主題來實現此目的。, 您可以通過...。

文章
Filter
Apply Filters
Mastodon