前言介紹
- 這款 WordPress 外掛「LazyLoad Background Images」是 2022-07-29 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 400 個安裝啟用數。
- 上一次更新是 2024-03-31,距離現在已有 399 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.2 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
lazybg | lazyload | lazyload-bg | speed optimization | backgound-images-lazyload |
內容簡介
這個外掛可以延遲網站背景圖片的載入時間,因此減少 HTTP 請求的總數,從而提高網站的加載速度。
快速提示和連結
不要對在畫面上方的背景圖像進行懶加載,因為這會增加「首個內容可見時間(FCP)」的測量值,並影響網站的速度。
使用內聯 CSS 添加的背景圖像(例如
)將默認由此外掛進行懶加載。
此外掛運作時不需要依賴其他程式庫。
不會有額外的 HTTP 請求。
在外掛設置頁面中添加具有背景圖像的元素的選擇器,或將 lazyload-bg 類添加到該元素中。
Proloy Bhaduri 的 WordPress 技巧和技巧
請我喝咖啡
與幾乎所有頁面編輯器平滑運作
原文外掛簡介
This plugin will delay the loading of background images in your website and thus helps boosting the website loading time by reducing total number of HTTP requests.
Quick Notes & Links
Do not lazyload background images which are peresent above the fold because this will increase time to First Contentful Paint(FCP) metric and affect the speed of your website .
Background images that are added using inline CSS e.g,
are lazyloaded by this plugin by default .
No dependencies required for this plugin to work.
No extra HTTP request
Add the selectors of the elements that have background images in the plugin settings page or add lazyload-bg class to the element .
WordPress Tips and Tricks By Proloy Bhaduri
Buy me a Coffee
Works smoothly with almost every page builders
Exclude certain inline background images from lazy loading using filter hook lazyload_inline_bg_excludes
add_filter(‘lazyload_inline_bg_excludes’,function($exclude_keywords){
$exclude_keywords = [
‘bg-image.jpg’,
‘class-name’,
‘id’,
‘or any unique keyword that the element with background image has’
];
},10,1);
Note: Add the above code to the functions.php file of your active theme/child theme or using a code snippets plugin.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「LazyLoad Background Images」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | trunk |
延伸相關外掛(你可能也想知道)
Lazy Load Control For Elementor – Remove the Lazy Load attribute from specific images in Elementor 》這款外掛為 Elementor 圖片元件新增一個控制功能,以便移除 Lazy Load 屬性。, 一般來說,如果你使用 Elementor,甚至在視窗範圍內的第一張圖片也會被 Lazy L...。
Freesoul Deactivate Plugins – Disable plugins on individual WordPress pages 》FDP 可讓您在特定頁面上停用外掛程式,以進行速度優化、偵錯和解決問題。它可適用於所有頁面、文章、定製文章(可公開查詢)、歸檔和後端頁面。, , 使用 FDP...。
RabbitLoader Cache: Optimize your Website for Speed 》RabbitLoader是一款基於CDN快取的速度優化外掛程式,利用快取、CDN和其他技術來縮短WordPress網站的加載時間,讓您在Google PageSpeed Insights中獲得完美的...。
WP Speed Optimization By Add Expires Headers & Optimized Minify Plugin 》這款外掛能夠通過在使用者瀏覽器中緩存不同類型的靜態文件來提升您的網站加載速度,同時還提供資源壓縮功能,減小頁面的資料大小並減少 HTTP 請求的數量,因...。
WP SpeedUp 》, 作者:Fahad Mahmood, 專案網址:http://androidbubble.com/blog/wordpress/plugins/wp-speedup, , WP SpeedUp 是一款很好的外掛,可以解決網頁載入速度的...。
WP Performance 》WP Performance 是一個能夠幫助優化網頁效能的快取 & 效能外掛,使用起來十分簡單。, 這個外掛可以將您的動態內容生成靜態 HTML 檔案,使用 mod_rewrite ...。
Widget for Zendesk Chat via API 》這個外掛提供了更快載入 Zendesk Chat Widget 的方式,比標準的 Zendesk Chat 外掛還要快速。優化網頁載入速度,實施快速簡單。讓您的網站快速載入 Zendesk C...。
Asset Preloader: preload the assets only on the pages where you need it 》本外掛讓您能夠在不同頁面預載入不同的資源。, 如果某個頁面在其他頁面之前需要某些資源,您應只在該頁面中預載入它,而非在每個頁面都預載入。, 本外掛讓您...。
SM – Prefetch 》SM Fetch 旨在使用 Prefetch 算法使您的網站加載速度更快。為了使此外掛程序完美運作,您需要:, , 網站中有多個頁面。但只有一個頁面也可以運作,只要您有按...。
RUFO 》總結:這個 WordPress 外掛會檢查頁面或文章中是否使用 Contact Form 7,只有當該頁面使用該功能時才會添加 Contact Form 7 js/css 檔案。, , HTML標記:, &l...。
Preload Everything 》將您的網站轉換為 AJAX 功能的即時加載單頁網站。它不是 SPA,但更像!預先緩存頁面以使您的網站更快,而訪問者在瀏覽頁面時,預加載其他頁面以實現快速訪問...。
FlashSpeed 》FlashSpeed 旨在為您的 WordPress 和 WooCommerce 網站加速,因為它可以刪除未使用的資源,並允許您微調 WordPress 的加載方式。, 因此,您可以減少所需的資...。
Easy & Fast Optimization 》是否正在尋找更快的網站呢?有了我們的外掛,WordPress從未如此高效。不要浪費時間,藉助快速且直觀的配置,讓Easy & Fast Optimization幫助你的網站躍升...。
Amigo Performance 》Amigo Performance是用於優化網站性能並提高服務(例如Google Page Speed Insight、GTmetrix)中的網站得分的WordPress外掛。, 非常簡單的用戶界面來優化所選...。
CacheRocket – the most advanced Cache Warming 》總結:CacheRocket 是一個功能強大的 WordPress 外掛,可幫助您預熱網站的快取,確保用戶獲得最佳性能和更快的頁面加載時間。通過主動預熱快取,CacheRocket ...。