having issues enabling lscache

#1
I don't know if this is the right topic to post under but here it goes. Two days ago I installed Openlitespeed server on a vps. Everything works except i can't get the cache to work. This being the first time i am installing Openlitespeed. I need some help if possible.

I have the following parameters set server wide:

checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize 10000000
maxStaleAge 200
qsCache 1
reqCookieCache 1
respCookieCache 1
ignoreReqCacheCtrl 1
ignoreRespCacheCtrl 0

enableCache 0
expireInSeconds 3600
enablePrivateCache 0
privateExpireInSeconds 3600

and the following parameters set in the virtual host


storagePath $VH_ROOT/lscache
checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize 10000000
maxStaleAge 0
qsCache 1
reqCookieCache 1
respCookieCache 1
ignoreReqCacheCtrl 1
ignoreRespCacheCtrl 0

enableCache 1
expireInSeconds 3600
enablePrivateCache 1
privateExpireInSeconds 3600
 
Top