Skip to content

SpeedMateWordPress Performance Plugin

Free static cache, automation, and Beast mode for WordPress

Quick Start

bash
# Install via WP-CLI
wp plugin install speedmate --activate

# Or download from GitHub
wget https://github.com/fabriziosalmi/speedmate/releases/latest/download/speedmate.zip
wp plugin install speedmate.zip --activate

Performance Features

SpeedMate provides enterprise-grade performance optimization for WordPress:

  • Static HTML Cache: Disk-based cache with automatic invalidation
  • Beast Mode: AI-driven automatic caching based on traffic patterns
  • WebP/AVIF: Automatic next-gen image format conversion
  • Critical CSS: Extract and inline critical rendering path CSS
  • Cache Warming: Proactive pre-caching of likely navigation paths
  • Resource Hints: DNS prefetch, preconnect, preload optimization

Configuration

Configure SpeedMate via:

  • WordPress Admin interface
  • REST API endpoints
  • WP-CLI commands
  • Direct settings array
php
// Example: Programmatic configuration
update_option('speedmate_settings', [
    'mode' => 'beast',
    'cache_ttl' => 3600,
    'webp_enabled' => true,
    'critical_css_enabled' => true,
]);

WP-CLI Commands

bash
# Flush entire cache
wp speedmate flush

# Warm cache for specific URLs
wp speedmate warm --urls=https://example.com/,https://example.com/about

# View cache statistics
wp speedmate stats

# Plugin information
wp speedmate info

# Garbage collection
wp speedmate gc

REST API

All cache operations available via REST API:

bash
# Flush cache
curl -X POST https://site.com/wp-json/speedmate/v1/cache/flush \
  -H "X-WP-Nonce: $NONCE"

# Get statistics
curl https://site.com/wp-json/speedmate/v1/stats

# Batch operations
curl -X POST https://site.com/wp-json/speedmate/v1/batch/warm \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://site.com/page1","https://site.com/page2"]}'

Requirements

  • PHP 7.4 or higher
  • WordPress 6.0 or higher
  • Write permissions to wp-content/cache/speedmate/

License

GPL-3.0 License - Free and open source

Released under the GPL-3.0 License