Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:common_installation:plesk-single [2016/07/25 15:54] Long Hu [Cache Policy Settings] |
litespeed_wiki:cache:common_installation:plesk-single [2016/07/25 15:55] (current) Long Hu [Set Server level cache root] |
||
---|---|---|---|
Line 12: | Line 12: | ||
**Note:** It is recommended to set the server level **Cache Root** to ''/var/www/vhosts/lscache/'' or a disk partition with enough space. | **Note:** It is recommended to set the server level **Cache Root** to ''/var/www/vhosts/lscache/'' or a disk partition with enough space. | ||
+ | |||
+ | ===== Perform A Graceful Restart ===== | ||
+ | After applying your cache storage settings, perform a graceful restart of LiteSpeed web server to have these changes take effect. | ||
+ | |||
+ | <code> | ||
+ | service lsws restart | ||
+ | </code> | ||
+ | |||
+ | |||
+ | **Note**: User doesn't need to manually create any cache root directory, lsws will automatically create the cache root directory with proper permission. | ||
===== Cache Policy Settings ===== | ===== Cache Policy Settings ===== | ||
LiteSpeed Cache default settings work well with most caching scenarios. For shared hosting environment, please don't change any of the **Server Level** default cache policy settings and leave them as "Not Set". | LiteSpeed Cache default settings work well with most caching scenarios. For shared hosting environment, please don't change any of the **Server Level** default cache policy settings and leave them as "Not Set". |