Overview
OpenLiteSpeed serves as the primary web server, providing HTTP/2, HTTP/3, LiteSpeed Cache integration, and PHP processing.
Server Configuration
| Setting | Value |
|---|
| Web Server | OpenLiteSpeed |
| PHP Handler | LiteSpeed SAPI (LSAPI) |
| HTTP Protocols | HTTP/2, HTTP/3 |
| PHP Version | 8.x |
| Process | 4 children, 300 requests per child |
LiteSpeed Cache
LiteSpeed Cache plugin for WordPress integrates with OpenLiteSpeed for server-level caching:
| Cache Feature | Setting |
|---|
| Page cache | Enabled |
| Browser cache | Enabled (static assets) |
| Cache ESI | Disabled |
| Cache logged-in users | Bypass |
| Minify CSS/JS | Enabled (combined with Perfmatters) |
| Image optimization | Via external service (not LS) |
| Parameter | Value | Rationale |
|---|
| Max Connections | 1000 | Adequate for current traffic |
| Keep Alive Timeout | 5s | Balance connection reuse vs. resource usage |
| Static Cache TTL | 1 hour | Standard caching duration |
| Expires by Type | 1 year for images/CSS/JS | Far-future expires for versioned assets |
Security
- ModSecurity enabled with OWASP rules
- PHP execution restricted to wp-content/uploads disabled
- XMLRPC disabled
- Server signature hidden
- Directory listing disabled