Repository navigation
MBR WP Performance
=== MBR WP Performance ===
Contributors: Made by Robert
Tags: performance, optimization, speed, cache, database
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.4.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Comprehensive WordPress performance optimization plugin with controls for core features, JavaScript, CSS, fonts, lazy loading, preloading, and database optimization.
== Description ==
MBR WP Performance is a powerful, all-in-one performance optimization plugin that gives you complete control over your WordPress site's performance.
= Features =
Core Features
- Disable unnecessary WordPress features (emojis, embeds, dashicons, etc.)
- Control REST API access
- Manage heartbeat, revisions, and autosave
- Remove query strings for better caching
- WooCommerce script optimization
- XML-RPC and RSS feed control
JavaScript Optimization
- Defer and async JavaScript loading
- Move scripts to footer
- jQuery optimization and removal options
- Minify and combine JavaScript files
- Delayed script execution for analytics
- Remove script versions
CSS Optimization
- Critical CSS inlining with auto-generator
- Async CSS loading
- Minify and combine CSS files
- CSS scanner for unused styles
- Google Fonts optimization and combining
- Conditional block styles loading
- Remove global styles and CSS versions
Font Optimization
- Preload critical fonts
- Self-host Google Fonts with auto-download
- Manual font management
- Font subsetting for reduced file sizes
- Preconnect to font domains
- Font Awesome optimization
- Font display strategies (swap, block, fallback, optional)
- Disable Google Fonts completely
- Elementor Google Fonts control
- Clear font cache functionality
Lazy Loading
- Native lazy loading for images
- Lazy load iFrames and embedded videos (YouTube, Vimeo, etc.)
- Exclude specific images from lazy loading by:
- CSS selectors
- Class names and IDs
- Data attributes
- Keywords in src or class
- Parent element selectors
- Smart exclusions to prevent breaking critical images
Preloading & Speculative Loading
- Preload critical images (LCP, hero images)
- Cloudflare Early Hints support (HTTP 103)
- Fetch Priority optimization
- Automatic high priority for first image
- Custom selectors for critical images
- Disable core WordPress fetch priority
- Speculative Loading for faster navigation
- Prefetch mode (fetch next page resources)
- Prerender mode (fully render next page in background)
- Configurable eagerness levels (conservative, moderate, eager)
- Auto mode for optimal performance
Database Optimization
- Post revision cleanup with configurable limits
- Auto-delete old drafts and trash
- Spam comment removal
- Orphaned metadata cleanup (posts, comments, terms, relationships)
- Transient management and cleanup
- Database table optimization
- Convert MyISAM tables to InnoDB
- Table repair functionality
- Scheduled automatic cleanups
== Installation ==
- Upload the
mbr-wp-performancefolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Access settings via 'WP Performance' in the WordPress admin toolbar
- Configure features one tab at a time
== Frequently Asked Questions ==
= Will this plugin break my site? =
The plugin is designed to be safe, but we recommend:
- Taking a full backup before using
- Testing features on a staging site first
- Enabling features one at a time
- Testing thoroughly after each change
= Can I use this with a caching plugin? =
Yes! This plugin works alongside caching plugins and provides complementary optimizations.
= Does this work with page builders? =
Yes, the plugin is fully compatible with Elementor, Beaver Builder, Divi, Oxygen, Bricks, and WPBakery. Optimizations are automatically disabled in editor/preview modes.
= How do I access the settings? =
Click 'WP Performance' in the WordPress admin toolbar at the top of the screen. You can also access individual tabs from the dropdown menu.
= What's the difference between Lazy Loading and Preloading? =
Lazy Loading delays loading of images/videos until they're needed (saving bandwidth), while Preloading loads critical resources early (improving perceived speed). They work together for optimal performance.
== Changelog ==
= 1.4.9 =
- Feature: Added comprehensive lazy loading controls
- Feature: Added preloading and speculative loading options
- Feature: Self-host Google Fonts with manual management
- Feature: Enhanced Google Fonts blocking (both googleapis.com and gstatic.com)
- Feature: Clear font cache functionality
- Feature: CSS scanner for unused styles
- Feature: Toolbar menu access (moved from sidebar)
- Improvement: Rebuilt admin JavaScript for better reliability
- Improvement: Reorganized Google Fonts settings to Fonts tab
- Improvement: Page builder compatibility (Elementor, Divi, etc.)
- Fix: Tooltips and action buttons now work correctly
- Fix: Elementor editor compatibility
- Fix: Admin CSS and JavaScript loading
= 1.0.0 =
- Initial release
- Core features optimization
- JavaScript optimization
- CSS optimization
- Font optimization
- Database optimization
== Upgrade Notice ==
= 1.4.9 =
Major update with lazy loading, preloading, improved font management, and better page builder compatibility. Backup before upgrading and test fea