To set up LiteSpeed Cache in WordPress, do the following:
Change web server for the desired site on OpenLiteSpeed.
-
-
Go to the section "
LiteSpeed Cache → Cache", Open the"
Cache"And make sure the switch is opposite"
Enable Cache"Is in position"
ON"(If it is not, enable it and save the changes by clicking"
Save Changes»):

On the same tab, similarly enable the required caches and specify their settings.
If you have an additional service
Memcache(d) or
Redis, the object cache can be configured:

In section "LiteSpeed Cache → Cache"Open the"Object».
Switch opposite "Object Cache"Set to position"ON».
Switch opposite "Method"Set to position"Memcached».
Copy the path to the Memcached socket from the hosting control panel and paste it into the “Host».
In field "Port»Specify 11211
.
Click "Save Changes"And make sure that the status"Connection Test"Is displayed as"Passed».

In section "LiteSpeed Cache → Cache"Open the"Object».
Switch opposite "Object Cache"Set to position"ON».
Switch opposite "Method"Set to position"Redis».
Copy the path to the Redis socket from your hosting control panel, remove at the beginning unix://
and insert into the field "Host».
Clear the field "Port».
Click "Save Changes"And make sure that the status"Connection Test"Is displayed as"Passed».
-
Check the site is working.