Getting Started
Get SpeedMate up and running in under 5 minutes.
Installation
Via WordPress Admin
- Download the latest release from GitHub Releases
- Navigate to Plugins > Add New > Upload Plugin
- Upload
speedmate.zip - Click Install Now then Activate
Via WP-CLI
bash
wp plugin install https://github.com/fabriziosalmi/speedmate/releases/latest/download/speedmate.zip --activateVia Composer
bash
composer require fabriziosalmi/speedmateQuick Configuration
1. Enable Static Cache
Static cache is enabled by default. Verify it's working:
bash
wp speedmate info2. Enable Beast Mode (Recommended)
Navigate to Settings > SpeedMate and:
- Set Mode to
beast - Configure cache TTL (default: 3600 seconds)
- Save changes
3. Verify Cache is Working
Visit your homepage twice:
bash
# First request - cache miss
curl -I https://yoursite.com | grep X-Cache
# Second request - cache hit
curl -I https://yoursite.com | grep X-Cache
# Should return: X-Cache: HITInitial Settings
Recommended settings for most sites:
php
[
'mode' => 'beast', // Enable Beast mode
'cache_ttl' => 3600, // 1 hour cache lifetime
'webp_enabled' => true, // Enable WebP conversion
'critical_css_enabled' => true, // Enable Critical CSS
'lazy_load' => true, // Enable lazy loading
'preload_enabled' => true, // Enable resource hints
'logging_enabled' => false, // Disable logging in production
]Verify Installation
Check that SpeedMate is working:
1. Check Cache Directory
bash
ls -la wp-content/cache/speedmate/Should show cache files after visiting pages.
2. Check Cache Stats
bash
wp speedmate statsShould display cache hit rates and file counts.
3. Check Advanced Cache
bash
cat wp-content/advanced-cache.phpShould contain SpeedMate's cache loader.
Next Steps
Troubleshooting
Cache Not Working
- Check file permissions:
wp-content/cache/speedmate/must be writable - Verify
WP_CACHEis defined inwp-config.php - Check for conflicting cache plugins
- Review logs:
wp-content/speedmate.log
Beast Mode Not Activating
- Visit several pages to generate traffic data
- Check Beast mode whitelist rules
- Verify cache TTL is set correctly
- Check logs for Beast mode decisions
WebP Not Converting
- Verify GD or Imagick extension is installed
- Check PHP memory limit (256MB minimum recommended)
- Ensure source images are accessible
- Check file permissions on uploads directory