D David Active Member Sep 14, 2020 #21 Sep 14, 2020 #21 You can set enableCache 0 in server level setting, and if you need update the setting for any VHost, just set it in the VHosts. The Vhost will inherite the setting from server level and use its own if it has.
You can set enableCache 0 in server level setting, and if you need update the setting for any VHost, just set it in the VHosts. The Vhost will inherite the setting from server level and use its own if it has.
D David Active Member Oct 2, 2020 #22 Oct 2, 2020 #22 For the cache setting in SERVER level, such as module testtimer module cache { checkPrivateCache 1 checkPublicCache 1 maxCacheObjSize 10000000 maxStaleAge 10 qsCache 1 reqCookieCache 1 respCookieCache 1 ignoreReqCacheCtrl 1 ignoreRespCacheCtrl 0 enableCache 1 #<---------- Enable public cache expireInSeconds 50 enablePrivateCache 0 #<---------- Disable private cache privateExpireInSeconds 60 ls_enabled 1 #<---------- Enable the module } Click to expand... I commented 3 directives. You can disable in SERVER level and enable in Vhost level.
For the cache setting in SERVER level, such as module testtimer module cache { checkPrivateCache 1 checkPublicCache 1 maxCacheObjSize 10000000 maxStaleAge 10 qsCache 1 reqCookieCache 1 respCookieCache 1 ignoreReqCacheCtrl 1 ignoreRespCacheCtrl 0 enableCache 1 #<---------- Enable public cache expireInSeconds 50 enablePrivateCache 0 #<---------- Disable private cache privateExpireInSeconds 60 ls_enabled 1 #<---------- Enable the module } Click to expand... I commented 3 directives. You can disable in SERVER level and enable in Vhost level.
D David Active Member Oct 2, 2020 #23 Oct 2, 2020 #23 For the .htaccess, openlitespeed does not fully support, but LSWS does. These two products are with different code base.
For the .htaccess, openlitespeed does not fully support, but LSWS does. These two products are with different code base.