Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:cache:common_installation:litespeed-native [2016/05/03 16:03] Michael Alegre created |
litespeed_wiki:cache:common_installation:litespeed-native [2016/07/20 13:34] (current) Rob Holda [Web Cache Web Server Configuration - LiteSpeed Native Single Site] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Cache Web Server Configuration - LiteSpeed Native Single Site ====== | ====== Web Cache Web Server Configuration - LiteSpeed Native Single Site ====== | ||
- | === Cache Storage Settings === | + | //**Note:** If you are running your server with [[litespeed_wiki:cache:common_installation:cpanel-single|cPanel/WHM]] or [[litespeed_wiki:cache:common_installation:plesk-single|Plesk]], you should not follow the instructions on this page. // |
+ | ===== Cache Storage Settings ===== | ||
- | From the WebAdmin Console, navigate to Configuration >> Server >> Cache and set **Storage Path** under "Cache Storage Settings". For example: "/tmp/wpcache". \\ \\ If the directory does not already exist, it will be created for you. | + | From the WebAdmin Console, navigate to Configuration >> Server >> Cache and set **Storage Path** under "Cache Storage Settings". For example: ''/home/lscache/''. \\ \\ If the directory does not already exist, it will be created for you. |
**Note:** CacheRoot is an absolute path for server level setting | **Note:** CacheRoot is an absolute path for server level setting | ||
- | ==== Cache Policy Settings ==== | + | ===== Cache Policy Settings ===== |
Under "Cache Policy" at either the Server or Virtual Host level, set the following: \\ \\ **Enable Public Cache** - No \\ **Check Public Cache** - Yes \\ **Ignore Request Cache-Control** - Yes \\ **Ignore Response Cache-Control** - Yes \\ \\ All other settings can be left as "Not Set". \\ \\ {{ :litespeed_wiki:cache:lscwp:lsc-settings-wp.png?direct 800px |}} | Under "Cache Policy" at either the Server or Virtual Host level, set the following: \\ \\ **Enable Public Cache** - No \\ **Check Public Cache** - Yes \\ **Ignore Request Cache-Control** - Yes \\ **Ignore Response Cache-Control** - Yes \\ \\ All other settings can be left as "Not Set". \\ \\ {{ :litespeed_wiki:cache:lscwp:lsc-settings-wp.png?direct 800px |}} | ||
Perform a web server graceful restart. | Perform a web server graceful restart. | ||
+ | |||
+ | ===== Advanced Cache Configuration ===== | ||
+ | For Advanced Cache Configuration info, **[[litespeed_wiki:cache:common_installation:advanced|look here]]**. |