[WordPress] 外掛分享: Asset Preloader: preload the assets only on the pages where you need it

WordPress 外掛 Asset Preloader: preload the assets only on the pages where you need it 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Asset Preloader: preload the assets only on the pages where you need it」是 2022-10-13 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2025-04-18,距離現在已有 16 天。
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

giuse |

外掛標籤

rendering | performance | speed optimization | http requests order |

內容簡介

本外掛讓您能夠在不同頁面預載入不同的資源。
如果某個頁面在其他頁面之前需要某些資源,您應只在該頁面中預載入它,而非在每個頁面都預載入。
本外掛讓您能夠針對每個頁面預載入資源。在後端的每個單頁和文章中都會有一個區域,同時還有一個全局設定頁面,讓您可以決定要在哪些頁面中預載入哪些資源。

如何在特定頁面中僅預載入特定資源

安裝 Asset Preloader
在後端前往該單頁,並在「Asset Preloader」下方的文字區域中新增該資源的 URL

如何在所有頁面中預載入特定資源

安裝 Asset Preloader
前往 Asset Preloader
在全局設定的文字區域中新增該資源的 URL

與加速頁面渲染相關的其他有用外掛

Freesoul Deactivate Plugins
Inline Image Base64

當然,若想獲得更好的速度表現,請務必不要忘記使用快取外掛,像是 W3 Total Cache、WP Fastest Cache、WP Optimize、Comet Cache、Cache Enabler、Hyper Cache、WP Super Cache、LiteSpeed Cache 和 SiteGround Optimizer。
這些了不起的外掛中,部分外掛還讓您有機會預載入資源,但卻不支援按照頁面預載入,因此我們才開發了 Asset Preloader。

說明

如有疑問或外掛無法正常運作,歡迎在支援論壇上發起討論。

原文外掛簡介

Decide which assets you want to preload depending on the page.
If a specific page needs a specific asset before others, you should preload it only on that page, not everywhere.
This plugin gives you the possibility to preload assets per page.
You will find a section in each single page and post in the backend, but also a global settings page where you can decide the assets that you want to preload everywhere.
How to preload a specific asset only on a specific page

Install Asset Preloader
Go to that single page in the backend, and add the URL of the asset in the textarea that you see below Asset Preloader

How to preload a specific asset on all pages

Install Asset Preloader
Go to Asset Preloader
Add the URL of the asset in the textarea that you see in the global settings

Other useful plugins to speed up the rendering of the page

Freesoul Deactivate Plugins
Inline Image Base64

For better speed performance, of course, don’t forget to use a caching plugin like W3 Total Cache, WP Fastest Cache, WP Optimize, Comet Cache, Cache Enabler, Hyper Cache, WP Super Cache, LiteSpeed Cache, SiteGround Optmizer
Some of the amazing plugins above give you also the opportunity to preload assets, but not per page. This is why we created Asset Preloader.
Help
If you have questions or something doesn’t work as expected don’t hesitate to open a thread on the Support Forum

各版本下載點

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

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


0.0.1 | 0.0.2 | 0.0.3 | 0.0.4 | 0.0.5 | 0.0.6 | 0.0.7 | trunk |

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

  • LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。
  • Jetpack – WP Security, Backup, Speed, & Growth 》search engines, and grow your traffic with Jetpack. It’s the ultimate toolkit for WordPress professionals and beginners alike., , Customize and des...。
  • Image Optimizer – Optimize Images and Convert to WebP or AVIF 》外掛總結:, , - Image Optimizer 是一個易於使用的 WordPress 外掛,透過壓縮和調整大小的技術來減少圖像大小,同時保留最高的圖像品質。, - Image Optimize...。
  • WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
  • WP Fastest Cache 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。
  • ManageWP Worker 》, Want to clone or migrate your WordPress website to a new host or domain? No problem! With ManageWP, you can easily clone or migrate your website ...。
  • W3 Total Cache 》W3 Total Cache (W3TC) 透過整合內容傳遞網絡 (CDN) 和最新最佳實踐等功能,提高網站性能、減少加載時間,增進 SEO、核心 Web 主要指標和整體用戶體驗。W3TC ...。
  • Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
  • Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
  • AMP 》「Page Experience」(PX)是一組排名訊號,包括「核心網頁素質」(Core Web Vitals,CWV),用來測量使用者與網頁互動的使用體驗。AMP 是一個強大的工具,能...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Breeze – WordPress Cache Plugin 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。
  • Jetpack Boost – Website Speed, Performance and Critical CSS 》使用 Jetpack Boost 優化網頁性能加速你的 WordPress 網站。輕鬆啟用一鍵優化,提升核心 Web 重要指標。, 你是否知道,更快的網站可以:, , 在 Google 搜尋排...。
  • Custom Fonts – Host Your Fonts Locally 》此外掛能協助您輕鬆地在 WordPress 網站中嵌入自定義字型檔案 (woff2、woff、ttf、svg、eot、otf)。, 目前能與以下主題和外掛一起使用:, , Astra 主題, Beav...。
  • Redis Object Cache 》一個由 Redis 提供支援的持久化物件快取後端。支援 Predis、PhpRedis (PECL)、Relay、複寫、哨兵、叢集化和 WP-CLI。, 若要調整連線參數、前綴的快取鍵或設定...。

文章
Filter
Mastodon