[WordPress] 外掛分享: Assets manager, dequeue scripts, dequeue styles for WordPress

首頁外掛目錄 › Assets manager, dequeue scripts, dequeue styles for WordPress
WordPress 外掛 Assets manager, dequeue scripts, dequeue styles for WordPress 的封面圖片
2,000+
安裝啟用
★★★★
4.3/5 分(53 則評價)
60 天前
最後更新
問題解決
WordPress 5.6+ PHP 7.2+ v2.2.1 上架:2017-11-28

內容簡介

在開發 WordPress 外掛時,很多開發人員常常忽略效能的問題。這代表很多外掛會在每個頁面或文章載入時載入自己的腳本或樣式,進而降低網站的速度。

這就是為什麼我們開發了 WP Asset Manager,使用這款外掛,您可以選擇哪些腳本、樣式會被載入,哪些不會被載入。例如 Contact Form 7 外掛,您只需要點擊兩次即可在除了聯絡頁面以外的地方禁用該外掛。

此外掛的好處包括:

減少載入 HTTP 請求數量(載入速度更快的重要因素)
減少頁面 HTML 代碼(如果啟用 GZIP 壓縮尤其有效)
便於開發人員搜尋代碼的可讀性
可避免其他外掛或佈景主題之間的衝突(例如兩個不同外掛都載入一個 JavaScript 檔案,有可能相互干擾)
當您在 GTmetrix、PageSpeed Insights、Pingdom Website Speed Test 等網站測試您的網站時,會得到更佳的效能評分
Google 會更喜歡您的網站,因為它會更快速,而快速的頁面載入是現今搜尋結果排名的重要因素之一
瀏覽您的伺服器存取記錄檔(例如 Apache 存取記錄檔)會變得更加容易且佔用空間更少

我們使用了一些來自 Asset Queue Manager、WP Asset CleanUp(Page Speed Optimizer)、Clearfy - disable unused features、wp disable、Disabler 和 Admin Tweaks 外掛的有用函數。

語言翻譯

預設英文,不會被省略
法文 – 非常感謝使用者(kingteamdunet)
俄文

如果您想協助我們進行翻譯,請透過該網站內部或該外掛內聯絡方式聯絡我們。

建議使用其他免費外掛

我們邀請您檢查幾款其他有關外掛,這是我們的團隊同樣製作的免費外掛,您可能會發現其特別有用:

Clearfy - WordPress optimization plugin and disable ultimate tweaker
Disable Comments for Any Post Types (Remove Comments)
Cyrlitera – transliteration of links and file names
Cyr-to-lat reloaded – transliteration of links and file names
Disable admin notices individually
Hide login page
Disable updates, Disable automatic updates, Updates manager

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Assets manager, dequeue scripts, dequeue styles for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Assets Manager is no longer under active development. We recommend using Super Page Cache as it includes all Assets Manager features plus powerful caching capabilities.
In October 2025, Assets Manager was acquired by Super Page Cache. We’re retiring Assets Manager in favor of Super Page Cache to ensure users have access to the same asset optimization features they’re using now, plus additional caching capabilities for improved performance, compatibility, and a superior user experience.
You should know that, a lot of WordPress plugins developers forget performance when creating plugins. This means that a lot of them load self scripts/styles on every single post and or page of your site. This is not good, because it slows your site down.
That’s why we created the WP Asset manager, with it, you can choose which scripts and styles should be loaded on the page, and which ones do not. One example of this would be with the Contact Form 7 plugin. With two clicks you can disable it everywhere except for on your contact page.
THIS PLUGIN’S BENEFITS INCLUDE
Decreases number of HTTP requests loaded (important for faster load)
Reduces the HTML code of the actual page (that’s even better if GZIP compression is enabled)
Makes source code easier to scan in case you’re a developer and want to search for something
Remove possible conflicts between plugins/theme (e.g. 2 JavaScript files that are loading from different plugins and they interfere one with another)
Better performance score if you test your URL on websites such as GTmetrix, PageSpeed Insights, Pingdom Website Speed Test
Google will love your website more as it would be faster and fast page load is nowadays a factor in search ranking
Your server access log files (e.g the Apache ones) will be easier to scan and would take less space on your server
We used some useful functions from plugins Asset Queue Manager, WP Asset CleanUp (Page Speed Optimizer), Clearfy – disable unused features, wp disable, Disabler, Admin Tweaks
Translations

English – default, always included
French – Thank you very much to user (kingteamdunet)
Russian

If you want to help with the translation, please contact me through this site or through the contacts inside the plugin.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon