Compatible XF 2.x: versions 2.0, 2.1
Developed by LiteSpeed Technologies - the LiteSpeed Cache Plugin for XenForo 2 (LSCXF2) is a PHP-based plugin that communicates with your installation of LiteSpeed Web Server(LSWS) and its built-in page cache, LSCache. Because LSCache is built directly into LSWS, overhead is significantly reduced and caching can be done more efficiently than with other PHP-based caches.
The current community version of LSCXF2 will only cache and serve pages for non-logged in users. After a user has logged in, their page requests will always hit the backend.
Additional Plugin Features
Installation
Once you have downloaded and installed the plugin package, edit the .htaccess file in the XenForo root directory and add the code shown below to the top, making the following changes where appropriate:
Developed by LiteSpeed Technologies - the LiteSpeed Cache Plugin for XenForo 2 (LSCXF2) is a PHP-based plugin that communicates with your installation of LiteSpeed Web Server(LSWS) and its built-in page cache, LSCache. Because LSCache is built directly into LSWS, overhead is significantly reduced and caching can be done more efficiently than with other PHP-based caches.
The current community version of LSCXF2 will only cache and serve pages for non-logged in users. After a user has logged in, their page requests will always hit the backend.
Additional Plugin Features
- Significantly reduce server load and improve site performance through automatic page caching.
- Support for HTTPS, HTTP/2, & QUIC out-of-box
Installation
- Download the LiteSpeed Cache for XenForo plugin package.
- Disable any other page caches as these will interfere with LSCXF2.
- Access the server hosting your XenForo installation, either directly or using ssh/sftp.
- From the unzipped LSCXF2 folder, copy all files under upload to the root directory of your XenForo 2 installation.
- In the XenForo control panel, navigate to the Add-ons section to complete the installation.
Once you have downloaded and installed the plugin package, edit the .htaccess file in the XenForo root directory and add the code shown below to the top, making the following changes where appropriate: