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
srcsetandsizesattributes
π‘ 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>