Samybaxy's Hyperdrive
Status: Production Ready Current Version: 6.1.9
Samybaxy’s Hyperdrive makes WordPress sites 65-75% faster by intelligently loading only the plugins needed for each page.
Instead of loading 120 plugins for every page, we load only 12-45 plugins for the current page – automatically, without breaking anything.
Key Features
- 85-90% plugin reduction on most pages
- 65-75% faster page loads without caching
- Zero configuration needed – works automatically
- Zero broken functionality – intelligent dependency detection
- Automatic dependency resolution – understands plugin ecosystems
- Multi-layer caching – 60-75% faster on cached requests
- Admin-only debug widget – real-time performance monitoring
How It Works
Traditional WordPress loads ALL plugins on EVERY page: * Shop page loads: WooCommerce, LearnPress, Forms, Analytics, SEO… (120 plugins) * Blog page loads: WooCommerce, LearnPress, Forms, Analytics, SEO… (120 plugins) * Result: Slow sites (3-8 seconds TTFB)
Samybaxy’s Hyperdrive intelligently filters plugins: * Shop page loads: WooCommerce + dependencies only (35 plugins) * Blog page loads: Blog plugins + dependencies only (18 plugins) * Result: 65-75% faster!
Intelligent Detection System
The plugin automatically detects which plugins are needed via:
- URL-based detection – Recognizes WooCommerce, courses, membership, blog pages
- Content analysis – Scans post content for shortcodes and page builder widgets
- Dependency resolution – Automatically loads all required plugin dependencies
- User role detection – Loads extra plugins for logged-in users, affiliates, members
- Smart defaults – Always loads essential plugins (page builders, theme cores)
Supported Plugin Ecosystems
- JetEngine – jet-engine, jet-menu, jet-blocks, jet-elements, jet-tabs, jet-popup, jet-woo-builder, and 10+ modules
- WooCommerce – woocommerce, memberships, subscriptions, product bundles, smart coupons
- Elementor – elementor, elementor-pro, the-plus-addons, thim-elementor-kit
- Content Restriction – restrict-content-pro, rcp-content-filter-utility
- Automation – uncanny-automator, fluent-crm
- Forms – fluentform, fluentformpro, jetformbuilder
- Other – LearnPress, Affiliate WP, EmbedPress, Presto Player, and many more
Safety Features
- Never filters WordPress admin area
- Never filters AJAX requests
- Never filters REST API requests
- Never filters WP-CRON requests
- Validates plugin existence before loading
- Maintains WordPress native plugin load order
- Falls back to loading all plugins if anything breaks
- Security: Debug widget only visible to administrators
- Security: Plugin info hidden from frontend users and visitors
- Clean: No error logging or debug output
Performance Optimization
- Expected reduction: 85-90% fewer plugins loading on most pages
- Speed improvement: 65-75% faster page loads
- Memory savings: 40-60% less memory usage
- Filter overhead: < 2.5ms per request
- Server cost reduction: 60-70% for same traffic
What’s New in v6.1.1
🚀 Consolidated production-validated patch release — battle-tested on a 154-plugin WooCommerce / membership / LMS site (see PERFORMANCE-AUDIT-2026.md). Folds in every internal iteration since 6.1.0 into one stable release.
⚡ MU-loader overhead removed (Phase 1):
- 5 → 1 DB query in the MU-loader. The five separate
$wpdb->get_var()calls per cache-miss request are collapsed into a single autoloadedshypdr_mu_payloadoption that piggybacks on the alloptions cache. - ~110 KB less PHP parsed per frontend request. Admin-only classes (
SHYPDR_Plugin_Scanner,SHYPDR_Dependency_Detector,SHYPDR_Content_Analyzer) now load lazily via an autoloader instead of beingrequire_once‘d on every request. - Frontend transient log writes removed. The 10%-sampled
set_transient()call onwp_loadedwas writing towp_optionson real visitor traffic. Logging is now opt-in (Runtime Loggingsetting, default OFF) and writes to a rotated file underuploads/shypdr-logs/. - save_post analysis debounced. Re-analysis is skipped for revisions, autosaves, non-public post types, unchanged
post_modified, and within 60 s of the last analysis — kills the thrash on ACF / meta-only saves. - Lookup table capped + LRU-evicted.
shypdr_url_requirementsis now bounded at 1500 entries (~500 posts) so the serialized blob stays within a healthy autoload budget. - Cache-plugin coexistence. The MU-loader now detects WP Rocket / LiteSpeed / WP Super Cache / NitroPack / ShortPixel preloaders and bows out, so cached HTML reflects the full plugin set instead of diverging from real-visitor pages.
🎯 NitroPack-complementary frontend optimizations (Phase 2):
- Plugin-aware preconnect hints. Hyperdrive already knows which plugins actually loaded for the current page — so it can preconnect to
js.stripe.comonly on checkout,player.vimeo.comonly when Presto Player is active for the page, etc. Generic cache-plugin hints add the same origins to every page; this one is selective. - Pre-cache hardening. WordPress Heartbeat slowed to 60 s on the frontend, emoji detection script removed. NitroPack snapshots the resulting lighter HTML once and serves it forever from cache.
- Page-cache purge on config change. Toggling
shypdr_enabledor rebuilding the restrictable set now automatically purges NitroPack, WP Rocket, LiteSpeed, WP Super Cache, W3 Total Cache, Cache Enabler, and SiteGround Optimizer (whichever is installed). - All Phase 2 features sit behind a single Frontend Optimizations toggle (default OFF on upgrade) so existing sites only opt in deliberately.
📊 Performance Insights tab (Phase 3):
- Overall stats card. Total samples in window, median plugin reduction, median PHP wall time (request start → wp_loaded — a directional TTFB proxy), median plugins loaded vs total.
- Per URL pattern breakdown. Logged URLs collapse to patterns (
/shop/product/abc+/shop/product/def→/shop/product/*) so similar pages roll up together. - “Filtering isn’t helping” callout. Surfaces URL patterns where median reduction is 0% across 3+ samples — clear signal the filtering overhead on those pages may exceed the savings.
- elapsed_ms captured per log entry via
REQUEST_TIME_FLOAT(microsecond-cheap, no extra I/O). - Settings → Hyperdrive → Performance Insights card. Requires Runtime Logging enabled.
🛡️ Deactivation safety:
- Deactivation removes the MU-loader file automatically (WordPress always loads MU-plugins regardless of activation state — leaving the loader installed meant a “deactivated” Hyperdrive could still influence requests).
shypdr_mu_payloadis dropped on deactivation so even if the mu-plugins directory is read-only and the file deletion fails, the MU-loader has nothing to act on.- Safety net in the MU-loader itself. If the file somehow survives, the MU-loader checks
active_plugins/active_sitewide_pluginsand bails unless the main plugin is currently active. Free check — rides the autoloaded alloptions cache. - User preferences (Enable Plugin Filtering, Essential Plugins, etc.) are preserved across deactivation cycles — only removed on uninstall.
What’s New in v6.0.2
🔗 WordPress 6.5+ Plugin Dependencies Integration
Full integration with WordPress core’s plugin dependency system:
- WP_Plugin_Dependencies API – Native support for WordPress 6.5+ dependency tracking
- Requires Plugins Header – Automatic parsing of the official plugin dependency header
- Circular Dependency Detection – Prevents infinite loops using DFS algorithm (O(V+E) complexity)
- 5-Layer Detection – WP Core → Header → Code Analysis → Pattern Matching → Known Ecosystems
- wp_plugin_dependencies_slug Filter – Support for premium/free plugin slug swapping
Technical Improvements: * Database-backed dependency map for MU-loader * Automatic map rebuild on plugin activation/deactivation * Version upgrade detection with automatic updates * Extended pattern detection for more plugins
What’s New in v6.0.1
🛒 Checkout & Payment Gateway Fixes
Fixed critical issue where payment gateways weren’t loading on checkout pages:
- Dynamic Gateway Detection – Automatically detects and loads Stripe, PayPal, and other payment plugins on checkout/cart pages
- Streamlined Checkout – Optimized plugin loading for better checkout performance
- Smart Membership Loading – Membership plugins now only load on checkout for logged-in users
What’s New in v6.0
🚀 Official Rebrand & WordPress.org Submission
Complete plugin rebrand from “Turbo Charge” to “Samybaxy’s Hyperdrive”:
- New Identity – Fresh branding with distinctive SHYPDR prefix
- WordPress.org Compliant – Meets all plugin directory requirements
- Clean Codebase – Extracted CSS, improved structure, proper escaping
- MU-Loader Update – Renamed to shypdr-mu-loader.php for consistency
⚠️ Note: Fresh installation required – settings from previous versions will not migrate.
What’s New in v5.1
Heuristic Dependency Detection System – Zero Manual Maintenance!
The plugin now automatically detects plugin dependencies using 4 intelligent methods:
- WordPress 6.5+ Headers – Reads official “Requires Plugins” header
- Code Analysis – Scans for class_exists(), defined(), hook patterns
- Pattern Matching – Recognizes naming conventions (jet-*, woocommerce-*, elementor-*)
- Known Ecosystems – Validates with curated plugin relationships
Benefits: * Zero manual maintenance – dependencies auto-detected * Works with custom/proprietary plugins automatically * Auto-rebuilds on plugin activation/deactivation * Database storage for fast retrieval
What’s New in v5.0
Intelligent Plugin Scanner – Heuristic Analysis System
Automatically analyzes all plugins and scores them 0-100 based on: * Known patterns (page builders, theme cores) * Keywords in name/description * Hook registrations (wp_head, wp_footer, etc.) * Asset enqueuing (global CSS/JS) * Custom post type registration
Detection Result Caching – 60-75% Faster Filtering
Dual-layer caching system: * Requirements Cache – Pre-computed URL to plugins mapping * Detection Cache – Runtime caching with object cache support * Performance: 0.3-0.8ms cached (vs 1.2-2.1ms uncached)
Admin Interface
Settings page at Settings > Samybaxy’s Hyperdrive with: * Enable/disable plugin filtering checkbox * Enable/disable debug widget checkbox * Intelligent plugin scanner with visual cards * Dependency map viewer with statistics * Performance logs showing recent page loads * Cache statistics and management * Stats: plugins loaded, plugins filtered, reduction percentage
Debug Widget
Floating widget that appears on frontend when enabled: * Admin only – Only visible to logged-in administrators * Frontend users and incognito visitors cannot see it (security) * Shows total plugins available * Shows plugins loaded this page * Shows plugins filtered out * Shows reduction percentage * Lists essential detected plugins * Shows sample of filtered out plugins * Fully interactive with expand/collapse * Responsive design (works on mobile)
Performance Statistics
Typical performance improvements:
Page Type Before After Improvement
Homepage 3.5s TTFB 1.2s TTFB 65% faster
Shop Page 4.2s TTFB 1.4s TTFB 67% faster
Blog Page 2.8s TTFB 0.8s TTFB 71% faster
Course Page 5.1s TTFB 1.9s TTFB 63% faster
Technical Details
Performance
- Time Complexity: O(1) detection with cached lookups, O(m) filtering where m = active plugins
- Space Complexity: ~110KB memory overhead (includes caching)
- Filter Speed: 0.3-0.8ms cached, 1.2-2.1ms uncached
- Plugin Reduction: 85-90% on most pages
- Speed Improvement: 65-75% faster page loads
Architecture
- Heuristic Dependency Detector – Auto-detects plugin dependencies
- Intelligent Plugin Scanner – Analyzes and scores all plugins
- Dual-Layer Caching – Requirements cache + detection cache
- Content Analyzer – Intelligent content scanning with caching
- Detection System – URL, content, user role, and default detection
- Resolver Algorithm – Queue-based recursive dependency resolution
- Safety Layer – Backend detection, validation, and fallbacks
Database Options
All options use shypdr_ prefix:
* shypdr_enabled – Enable/disable plugin filtering
* shypdr_debug_enabled – Enable/disable debug widget
* shypdr_essential_plugins – User-customized essential plugins
* shypdr_dependency_map – Auto-detected plugin dependencies
* shypdr_plugin_analysis – Cached scanner results
* shypdr_url_requirements – Pre-computed URL lookups
* shypdr_logs (transient) – Performance logs
WordPress Hooks
plugins_loaded– Initialize core componentsadmin_menu– Register settings pageadmin_init– Register settings fieldsoption_active_plugins– Filter plugin list before WordPress loads themwp_enqueue_scripts– Load debug widget CSS/JSwp_footer– Render debug widget HTMLsave_post– Update requirements cacheactivated_plugin– Rebuild dependency mapdeactivated_plugin– Rebuild dependency map
Filter Hooks for Developers
shypdr_essential_plugins– Override essential pluginsshypdr_dependency_map– Override dependency mapshypdr_url_detected_plugins– Customize URL detectionshypdr_content_detected_plugins– Customize content detection
Support
For support and documentation: * GitHub: https://github.com/samybaxy/samybaxy-hyperdrive * Settings > Samybaxy’s Hyperdrive – View performance logs * Enable debug widget for real-time monitoring
Credits
Developed by samybaxy with a focus on performance, safety, and zero configuration.
Special thanks to the WordPress community for their feedback and testing.
