WP Manifestindependent plugin directory
manifest / performance / speedpai-wordpress-speed-booster-optimization-plugin

SpeedPai — WordPress Performance

Wordpress Speed Booster & Optimization Plugin

by SpeedPai · github.com/deshibiker/speedpai-wordpress-speed-booster-optimization-plugin · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/deshibiker/speedpai-wordpress-speed-booster-optimization-plugin/archive/refs/heads/claude%2Fplan-speediq-plugin-1UDRE.zip

The all-in-one WordPress performance plugin. Zero-config page cache, AVIF/WebP images, JS/CSS optimization, Redis, database cleanup, and Real User Monitoring.

Description

SpeedPai is a modern, zero-configuration WordPress performance plugin that diagnoses, fixes, and proves performance improvements on your site. It delivers the features of premium plugins like WP Rocket and NitroPack — without the monthly fee.

Core Features (Free)

Page Cache

  • Full-page HTML cache served before WordPress loads (zero database queries on cache hits)
  • Pre-compressed gzip output — no server-side gzip module required
  • WooCommerce-aware exclusions (cart, checkout, account pages always bypass cache)
  • Automatic cache purge on post save, plugin updates, and theme changes

Image Optimization

  • Automatic AVIF conversion (PHP 8.1+) with WebP fallback via GD
  • <picture> element rewriting for perfect browser compatibility
  • LCP image detection and fetchpriority="high" injection
  • Native lazy loading with width/height attributes to prevent CLS

JavaScript & CSS Optimization

  • Dependency-aware defer and async attribute injection
  • Async CSS loading via media="print" onload pattern
  • JS delay: third-party scripts load on first user interaction
  • Font display: swap injection for zero render-blocking fonts

Font Optimization

  • Google Fonts self-hosting: fonts downloaded to your server, served from your domain
  • Automatic preconnect hints for fonts.gstatic.com
  • font-display: swap appended automatically

Speculation Rules API

  • Prefetch/prerender links on hover or viewport entry for instant navigation
  • WooCommerce-aware exclusions for cart and checkout URLs

Heartbeat Control

  • Reduces WordPress's AJAX polling from 15 s to 60 s in admin, 120 s on frontend
  • Eliminates unnecessary server load from WP's heartbeat API

Redis Object Cache

  • Drop-in installer for wp-content/object-cache.php
  • Automatic detection and configuration from your saved settings
  • Graceful fallback to in-memory cache when Redis is unavailable

Database Optimization

  • Removes expired transients in batches of 100
  • Cleans excess post revisions (configurable limit)
  • Removes orphaned post meta and term relationships
  • OPTIMIZE TABLE runs on a weekly schedule

SpeedPai Score (0–100)

  • Composite metric: Server TTFB (25%), Assets (25%), DB Health (20%), Core Web Vitals (30%)
  • Integrates with PageSpeed Insights API for real CrUX data
  • Score history stored locally for 30-day trend charts

Real User Monitoring (RUM)

  • Collects LCP, INP, CLS, FCP, TTFB from real visitors via PerformanceObserver
  • Configurable sampling rate (default: 10%)
  • GDPR-friendly: no personal data stored, uses sendBeacon() for zero-impact collection
  • P75 percentile reporting with top slow URLs

Auto-Pilot

  • Automatically detects your stack (WooCommerce, Elementor, Divi, Yoast, etc.)
  • Applies safe optimizations without breaking your site
  • Every change is recorded so you can roll back with one click

Admin Interface

  • 5-page admin UI: Dashboard, Performance, Reports, Tools, License
  • Admin bar shortcut with one-click cache flush
  • WP-CLI support: wp speedpai cache flush, wp speedpai scan, and more

Pro Features

  • Critical CSS — Extracts and inlines above-the-fold CSS for the fastest possible first paint
  • White-Label Reports — Export PDF performance reports with your branding
  • Cloudflare API Integration — Purge Cloudflare cache automatically
  • Multisite Dashboard — Monitor all network sites from one screen
  • Partytown Integration — Offload third-party scripts to a web worker
  • Priority Support — 1-business-day response from our performance experts

Requirements

  • PHP 7.4+ (PHP 8.0+ recommended for AVIF support)
  • WordPress 6.0+
  • GD extension (for WebP/AVIF conversion)
  • Redis PHP extension (optional, for object cache)

Installation

  1. Upload the speedpai folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. SpeedPai automatically installs the page cache drop-in and enables WP_CACHE in wp-config.php.
  4. Visit SpeedPai → Dashboard to run your first scan.

That's it. Auto-Pilot will handle the rest.

Frequently Asked Questions

Does SpeedPai work with WooCommerce?

Yes. SpeedPai automatically excludes cart, checkout, and account pages from caching and integrates with WooCommerce stock updates.

Will SpeedPai conflict with my existing caching plugin?

SpeedPai checks for existing advanced-cache.php drop-ins before installing its own, so it will not overwrite another plugin's cache. For best results, disable other caching plugins when using SpeedPai.

Does SpeedPai work with Elementor / Divi / page builders?

Yes. Auto-Pilot detects page builders and applies compatible optimizations only.

Is it GDPR-compliant?

Yes. The RUM feature collects no personal data. It measures timing metrics (LCP, CLS, etc.) but stores no IP addresses or user identifiers.

Can I use SpeedPai on a multisite network?

Yes on the free plan with per-site management. The Pro plan adds a network-level dashboard.

Screenshots

  1. Dashboard with SpeedPai Score, metric breakdown, and system status
  2. Performance settings page with tabbed sections
  3. Reports page with score trend chart and RUM metrics
  4. Tools page: cache management, DB cleanup, settings import/export
  5. License page with Pro feature comparison

Changelog

1.0.0

  • Initial release
  • Page cache with gzip pre-compression
  • AVIF/WebP image optimization
  • JS/CSS defer and async
  • Redis object cache drop-in installer
  • Database cleanup and optimization
  • SpeedPai Score composite metric
  • Real User Monitoring (RUM)
  • Auto-Pilot with stack detection
  • Google Fonts self-hosting
  • Speculation Rules API
  • Heartbeat control
  • CDN URL rewriting
  • WP-CLI integration

Upgrade Notice

1.0.0

Initial release. No upgrade needed.