Performance Optimization Tips
2026-03-018 min read
Performance Optimization Tips
Best practices for running Sera plugins with optimal performance.
General Recommendations
Use Object Caching
Install an object cache plugin (Redis or Memcached) to reduce database queries:
- Sera plugins cache frequently accessed data in the object cache
- This significantly reduces database load on high-traffic sites
- Recommended: Redis Object Cache plugin with a Redis server
Optimize PHP
- Use PHP 8.1+ for best performance (up to 30% faster than PHP 7.4)
- Enable OPcache for compiled PHP bytecode caching
- Set
opcache.memory_consumption = 256for sites with many plugins
Database Optimization
Use Sera Pulse's database optimizer regularly:
- Run weekly optimization to clean overhead
- Remove old post revisions (keep last 5)
- Clean expired transients
- Optimize large tables
Plugin-Specific Tips
Sera Core
- Configure only one AI provider (don't enable all three simultaneously)
- Set reasonable token limits for AI requests
- Clear the Knowledge Base of outdated entries periodically
CLS Guard / CLS Guard Pro
- CLS Guard (free) has near-zero performance impact (under 1KB CSS, no JavaScript)
- CLS Guard Pro's monitoring script adds minimal overhead (< 5KB)
- Disable Learning Mode after initial setup to reduce monitoring overhead
Sentinel
- Set malware scans to run during low-traffic hours (2-4 AM)
- Use the Medium protection level unless you have specific security concerns
- Regularly review and clean the security audit log (logs can grow large)
Pulse
- Set database optimization to run weekly, not daily
- Configure uptime monitoring interval based on your needs (5 min for critical sites, 15 min for others)
- Disable Auto-Pilot on staging/development sites
AI Writer
- Close the AI Coach when not actively writing to reduce API calls
- Use content templates to avoid regenerating similar structures
- Archive completed pipeline items instead of deleting them
AI Sitemap
- Set sitemap bucket size to 500-1000 URLs for optimal crawl efficiency
- Disable PingStorm mode after initial indexing (Cannon mode is sufficient for ongoing updates)
- Schedule crawl analysis for weekly, not daily
Caching Plugin Compatibility
Add these exclusions to your caching plugin:
# Exclude Sera admin pages from cache
/wp-admin/admin.php?page=sera*
# Exclude Sera AJAX endpoints
/wp-admin/admin-ajax.php (when action contains 'sera')
# Exclude Sera REST API endpoints
/wp-json/sera/*
# Exclude Sera admin pages from cache
/wp-admin/admin.php?page=sera*
# Exclude Sera AJAX endpoints
/wp-admin/admin-ajax.php (when action contains 'sera')
# Exclude Sera REST API endpoints
/wp-json/sera/*
Server-Level Optimization
For best results with Sera:
- Nginx β Add proper caching headers for static assets
- PHP-FPM β Use
pm = dynamicwith at least 10 child processes - MySQL β Set
innodb_buffer_pool_sizeto 50-70% of available RAM - CDN β Use a CDN for static assets (Sera's admin assets are self-contained)