# Asset Cleanup
> [!NOTE] Overview
> Asset Cleanup is a WordPress performance plugin that helps optimize page load times by removing unnecessary CSS and JavaScript files from specific pages where they aren't needed.
## Key Features
1. Asset Management
- CSS unloading
- JavaScript unloading
- Per-page control
- Bulk unloading
2. Optimization Options
- File minification
- Combine files
- HTML cleanup
- AJAX loading
3. Advanced Features
- RegEx rules
- Preload assets
- Critical CSS
- Defer loading
## Usage Status
- **Recommendation Level**: Recommended
- **Pricing**: Free (Basic), $49/year (Pro)
- **Installation Type**: Performance Plugin
## Configuration Guide
### 1. Basic Setup
1. Asset Detection
- Scan pages
- Identify assets
- Test unloading
- Monitor impact
2. Optimization Settings
- Enable minification
- Configure combining
- Set up preloading
- Manage exceptions
### 2. Advanced Configuration
1. Page-Specific Rules
- Custom rules
- Template rules
- Post type rules
- Archive rules
2. Performance Options
- Load timing
- File location
- Cache settings
- Debug options
## Best Practices
1. Initial Setup
- Start with homepage
- Test each change
- Monitor performance
- Document changes
2. Maintenance
- Regular reviews
- Update rules
- Check conflicts
- Verify optimization
## Integration Notes
- Works with:
- [[WP Rocket]]
- [[Autoptimize]]
- Cache plugins
- Most themes
## Common Issues & Solutions
1. Asset Conflicts
- Plugin compatibility
- Theme conflicts
- jQuery dependencies
- Loading order
2. Performance Issues
- Cache problems
- Load time spikes
- Mobile issues
- AJAX failures
## Personal Experience
Powerful tool for fine-tuning WordPress performance. The ability to selectively unload assets per page is invaluable. Pro version offers excellent value with advanced features.
## Alternatives
1. [[Autoptimize]]
2. Perfmatters
3. WP Asset Clean Up
4. Plugin Organizer
## Best Use Cases
1. Site Optimization
- Heavy themes
- Multiple plugins
- Page builders
- Complex layouts
2. Specific Needs
- Landing pages
- Custom templates
- Special layouts
- Performance critical
## Performance Impact
1. Load Time
- Reduced requests
- Smaller page size
- Faster rendering
- Better scores
2. Resource Usage
- Less bandwidth
- Lower server load
- Better caching
- Efficient delivery
## Configuration Tips
1. Asset Management
- Start conservative
- Test thoroughly
- Document changes
- Monitor impact
2. Optimization Settings
- Balance features
- Consider mobile
- Test all devices
- Check speed scores
## Pro Features
1. Advanced Rules
- RegEx support
- Bulk unloading
- Site-wide rules
- Custom locations
2. Additional Tools
- Critical CSS
- Plugin organizer
- Advanced preload
- Premium support
## Resources
- [WordPress Repository](https://wordpress.org/plugins/wp-asset-clean-up/)
- [Documentation](https://www.gabelivan.com/docs/wp-asset-clean-up/)
- [Pro Version](https://www.gabelivan.com/products/wp-asset-clean-up-pro/)
- [Support](https://wordpress.org/support/plugin/wp-asset-clean-up/)