This is an old revision of the document!

LSCache + LiteSpeed WebADC

Structure example:
LiteSpeed WebADC (With Cache) > Back end web server > WordPress Application

  • Navigate to LSLB Web Admin Console→Server→Cache
    1. Set Storage Path /home/lscache/

  • Navigate to LSLB Web Admin Console→Virtual Hosts→Cache
    1. Set Storage Path /home/Litespeed443/lscache
    2. Set Check Public Cache Yes

You can check if a page is being cached from WebADC by:

  1. Navigating to your site from a non-logged-in browser and using your browser's developer tools to check the response header.
  2. Enter http://[Back_end_web_server_IP]/wordpress as URL, check there is no cache from response header.
  3. Enter http://[Web_ADC_IP]/wordpress as URL, if you reload page a second time and see “X-LiteSpeed-Cache: hit” in the response header for the page file, then the page is being served by the cache.
  4. Modify posts from WordPress Application, then Ctrl+F5 to refresh http://[Web_ADC_IP]/wordpress, you should see the updated posts.

Follow steps to enable Web ADC debug log:

  • Navigate to LSLB Web Admin Console→Server→Log
    1. Set Log Level DEBUG
    2. Set Debug Level NONE

  • Admin
  • Last modified: 2017/06/30 15:44
  • by Eric Leu