
A faster website! (aka defer.js)
by shinsenter on WordPress.org
๐ Unleash the power of cutting edge WordPress optimization tech. ๐ฏ SEO-Optimized and ๐ฏ Effortlessly User-Friendly!

Achieving a perfect 100/100 score in Google PageSpeed Test with ease!
โก๏ธ Experience lightning-fast load times with our native, blazingly quick lazy loader. โ Backward compatible with legacy browsers (IE9+). ๐ฏ SEO-optimized. ๐งฉ Lazy-load everything.
This plugin empowers you to optimize a wide range of elements, including images, videos, audio, iframes, stylesheets, and JavaScript, for a seamless user experience.
Leveraging tips from seasoned web experts and harnessing the latest web technologies for resource lazy-loading, this plugin ensures your website operates at peak efficiency, providing your visitors with a lightning-fast browsing experience.
If you find this plugin valuable, please consider leaving a 5-star review (โญ๏ธโญ๏ธโญ๏ธโญ๏ธโญ๏ธ) to support my efforts.
What People Love
- โก๏ธ Native API, blazingly fast performance
- ๐ Support for legacy browsers (IE9+)
- ๐ฅ SEO-friendly optimization
- โ Incredibly easy to use
- ๐ฏ No dependencies, no jQuery required
- ๐ค Works seamlessly with your favorite frameworks
- ๐งฉ Utilizes IntersectionObserver API for optimized CPU usage
- ๐ Supports responsive images with
srcset
andsizes
attributes
๐ก Tip: For optimal results, consider disabling optimization features from other plugins (e.g., lazy-loading, HTML minification, JS minification).
We recommend using this plugin alongside another page-caching solution for best performance.
Browser support
This plugin also works perfectly on popular browsers, including Internet Explorer 9 and later.
- ๐ฅ IE9+ / Microsoft EDGE
- ๐ฅ Firefox 4+
- ๐ฅ Safari 3+
- ๐ฅ Chrome
- ๐ฅ Opera
- ๐ฑ Android 4+
- ๐ฑ iOS 3.2+
Powered by defer.js, defer.php
defer.js
๐ฅ A super small, super efficient library that helps you lazy load almost everything like images, video, audio, iframes as well as stylesheets, and JavaScript.
defer.php
๐ A PHP library that focuses on minimizing payload size of HTML document and optimizing processing on the browser when rendering the web page.
Key features
- [x] Embed defer.js plugin
- [x] Normalize DOM elements
- [x] Fix missing meta tags
- [x] Fix missing media attributes
- [x] Preconnect to required origins
- [x] Preload key requests
- [x] Prefetch key requests
- [x] Browser-level image lazy-loading for the web
- [x] Lazy-load offscreen and hidden iframes
- [x] Lazy-load offscreen and hidden videos
- [x] Lazy-load offscreen and hidden images
- [x] Lazy-load CSS background images
- [x] Reduce the impact of JavaScript
- [x] Defer non-critical CSS requests
- [x] Defer third-party assets
- [x] Add fallback
tags for lazy-loaded objects
- [x] Add custom HTML while browser is rendering the page (splashscreen)
- [x] Attribute to ignore optimizing the element
- [x] Attribute to ignore lazyloading the element
- [x] Optimize AMP document
- [x] Minify HTML output
Support my activities
Keep up-to-date with new releases:
https://wordpress.org/plugins/shins-pageload-magic/
Donate via Paypal
Become a sponsor
Become a stargazer
Report an issue
Released under the GNU General Public License v2 license.
https://code.shin.company/defer-wordpress/blob/master/LICENSE
Copyright (c) 2024 Mai Nhut Tan <shin@shin.company>