cache only works for one virtual host

Jinesh

Well-Known Member
#1
Hi, I have 2 virtual host on lsws enterprise server to host a read only php API.

the 2 of the have the EXACT same config (vh) But only one works. the 2 of them use the same cache path /dev/shm/lsdiskcache

<cache> https://100001.onl/ https://1921681254.mx/
<storage>
<cacheStorePath>/dev/shm/lsdiskcache</cacheStorePath>
</storage>
<cachePolicy>
<enableCache>1</enableCache>
<maxCacheObjSize></maxCacheObjSize>
<expireInSeconds>30</expireInSeconds>
<maxStaleAge>10</max
<qsCache>1</qsCache>
<reqCookieCache></reqCookieCache>
<respCookieCache></respCookieCache>
<ignoreReqCacheCtrl></ignoreReqCacheCtrl>
<ignoreRespCacheCtrl></ignoreRespCacheCtrl>
<enablePrivateCache></enablePrivateCache>
<privateExpireInSeconds></privateExpireInSeconds>
</cachePolicy>
</cache>

any idea why would one work and not the other?. I re-created the non working host with making it work..
 
Last edited:
Top