Our hosting platform integrates LiteSpeed Cache for WordPress (LSCWP) to deliver exceptional website performance. This comprehensive guide explains how to optimize your WordPress site using the plugin's powerful features.
Core Caching Features
Understanding Public vs Private Cache
LiteSpeed Cache implements two distinct types of caching mechanisms to optimize performance for different user scenarios:
Public Cache
- Creates a single cached copy of a page that's served to all visitors
- Ideal for static content and pages that don't contain user-specific information
- Provides maximum resource efficiency and fastest delivery
- Typically used for blog posts, landing pages, and general content
Private Cache
- Generates individual cached copies for specific users
- Maintains personalized content integrity (e.g., WordPress admin bar)
- Enables caching for logged-in users and commenters
- Significantly improves performance compared to no caching
Resource Optimization
CSS Optimization Features
Minification and Combination
- Minification
- Removes unnecessary whitespace, comments, and formatting
- Reduces file sizes without affecting functionality
- Decreases bandwidth usage and loading times
- Combination
- Merges multiple CSS files into a single file
- Reduces HTTP requests
- Improves initial page load performance
JavaScript Optimization
Load Optimization Techniques
- Deferred Loading
- Postpones JavaScript execution until after page load
- Improves initial page rendering speed
- Configurable on per-script basis
- Delayed Execution
- Delays non-critical scripts until user interaction
- Reduces initial JavaScript processing
- Improves Core Web Vitals scores
Media Optimization
WebP Conversion
- Automatic Processing
- Converts JPEG/PNG images to WebP format
- Maintains original image quality
- Reduces file sizes by 25-35% on average
- Serves WebP to compatible browsers automatically
- Configuration Options
- Quality level adjustment (default: 70%)
- Backup original images
- Selective conversion rules
Database Optimization
Automatic Cleanup Features
- Post Revisions
- Configurable revision retention (recommended: 2-3 copies)
- Automatic cleanup of old revisions
- Scheduled maintenance options
- Database Tables
- Removes expired transients
- Cleans spam comments
- Optimizes table structures
Performance Monitoring
Cache Statistics
- Real-time Monitoring
- Cache hit ratio tracking
- Page load time measurements
- Resource usage statistics
- Debug Tools
- Cache status verification
- Performance bottleneck identification
- Error logging and troubleshooting
Recommended Settings
Optimal Configuration
- Page Cache
- Enable public cache with 24-hour TTL
- Enable private cache for logged-in users
- Enable commenter cache if using moderated comments
- Resource Optimization
- Enable CSS/JS minification and combination
- Enable WebP conversion
- Enable lazy loading for images
- Database Optimization
- Schedule weekly cleanup
- Retain 3 post revisions
- Enable automatic table optimization
Note: While these settings work well for most sites, specific configurations may need adjustment based on your website's unique requirements. Contact our support team for personalized optimization assistance.