We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.13.1.2.6. Setting up LiteSpeed Cache in WordPress

To set up LiteSpeed Cache in WordPress, do the following:

  1. Change web server for the desired site on OpenLiteSpeed.
  2. Install and activate the plugin LiteSpeed Cache.
  3. 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»):
  4. On the same tab, similarly enable the required caches and specify their settings.
  5. If you have an additional service Memcache(d) or Redis, the object cache can be configured:
    1. In chapter "LiteSpeed Cache → Cache"Open the"Object».
    2. Switch opposite "Object Cache"Set to position"ON».
    3. Switch opposite "Method"Set to position"Memcached».
    4. Copy the path to the Memcached socket from the hosting control panel and paste it into the “Host».
    5. In field "Port»Specify 11211.
    6. Click "Save Changes"And make sure that the status"Connection Test"Is displayed as"Passed».
    1. In chapter "LiteSpeed Cache → Cache"Open the"Object».
    2. Switch opposite "Object Cache"Set to position"ON».
    3. Switch opposite "Method"Set to position"Redis».
    4. Copy the path to the Redis socket from your hosting control panel, remove at the beginning unix:// and insert into the field "Host».
    5. Clear the field "Port».
    6. Click "Save Changes"And make sure that the status"Connection Test"Is displayed as"Passed».
  6. Configure if necessary image optimization on LiteSpeed servers.
  7. Check the site is working.