Skip to main content

OpenLiteSpeed

Overview​

OpenLiteSpeed serves as the primary web server, providing HTTP/2, HTTP/3, LiteSpeed Cache integration, and PHP processing.

Server Configuration​

SettingValue
Web ServerOpenLiteSpeed
PHP HandlerLiteSpeed SAPI (LSAPI)
HTTP ProtocolsHTTP/2, HTTP/3
PHP Version8.x
Process4 children, 300 requests per child

LiteSpeed Cache​

LiteSpeed Cache plugin for WordPress integrates with OpenLiteSpeed for server-level caching:

Cache FeatureSetting
Page cacheEnabled
Browser cacheEnabled (static assets)
Cache ESIDisabled
Cache logged-in usersBypass
Minify CSS/JSEnabled (combined with Perfmatters)
Image optimizationVia external service (not LS)

Performance Tuning​

ParameterValueRationale
Max Connections1000Adequate for current traffic
Keep Alive Timeout5sBalance connection reuse vs. resource usage
Static Cache TTL1 hourStandard caching duration
Expires by Type1 year for images/CSS/JSFar-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