Check if Litespeed Wordpress Cache is working

Hedloff

Well-Known Member
#1
Hello,

Got a website were LSCWP is installed and active.
But checking the header it gives this:
  1. Server:
    LiteSpeed
  2. Strict-Transport-Security:
    max-age=15768000
  3. Transfer-Encoding:
    chunked
  4. Vary:
    Accept-Encoding
  5. X-LiteSpeed-Tag:
    F
  6. X-Powered-By:
    PHP/5.5.32

    What does the X-Litespeed-Tag mean?
    I cannot see any X-LiteSpeed-Cache: hit in the response header.
    Does that mean that Cache plugin is not working?
 

NiteWave

Administrator
#2
I cannot see any X-LiteSpeed-Cache: hit in the response header.
yes, that means no request hit cache.
maybe you can try a simple phpinfo.php, see if cache hit.

What does the X-Litespeed-Tag mean?
I don't know the exact meaning(need developer's input).
probably mean that LSCWP try to cache this page but failed due to some reason.

any special plugins for this wp site ? maybe conflict with LSCWP ?
 

Lauren

LiteSpeed Staff
Staff member
#3
If you see "X-LiteSpeed-Tag" header, meaning LSWS did not treat as cacheable, if cache is on, LSWS will take this header and will not output to browser. Have you set up cache storage and related cache policy correctly?
Are you using a trial license? If not, is your current license has cache module enabled?
 

Hedloff

Well-Known Member
#4
Thank you. I did some changes in the configuration in Cache and it's now working correctly:

  1. Server:
    LiteSpeed
  2. Strict-Transport-Security:
    max-age=15768000
  3. Strict-Transport-Security:
    max-age=15768000
  4. Vary:
    Accept-Encoding
  5. X-LiteSpeed-Cache:
    hit
  6. X-Powered-By:
    PHP/5.5.32

    But, why does Strict-Transport-Security show twice?
    We have this on all servers (Apache/Litespeed), but on Apache servers they only show once and not twice.
    Do you add this in Litespeed aswell somewhere or can it cause any issues?
 
Top