Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:common_installation:cpanel-single [2016/07/25 14:38] Long Hu [Perform A Graceful Restart] |
litespeed_wiki:cache:common_installation:cpanel-single [2016/07/25 14:39] (current) Long Hu [Cache Policy Settings] |
||
---|---|---|---|
Line 27: | Line 27: | ||
===== Cache Policy Settings ===== | ===== Cache Policy Settings ===== | ||
- | Add the following Apache style configuration directive in .htaccess to enable cache lookup. | + | 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". |
+ | Cache Policy: | ||
+ | Enable Public Cache:Not Set | ||
+ | Check Public Cache:Not Set | ||
+ | Max Object Size:Not Set | ||
+ | Cache Expire Time (seconds):Not Set | ||
+ | Cache Stale Age (seconds)Not Set | ||
+ | Cache Request with Query String:Not Set | ||
+ | Cache Request with Cookie:Not Set | ||
+ | Cache Response with Cookie:Not Set | ||
+ | Ignore Request Cache-Control:Not Set | ||
+ | Ignore Response Cache-Control:Not Set | ||
+ | Enable Private Cache:Not Set | ||
+ | Check Private Cache:Not Set | ||
+ | Private Cache Expire Time (seconds):Not Set | ||
- | <IfModule LiteSpeed> | + | Add the following Apache style configuration directive in your application level .htaccess file to enable cache lookup. |
- | CacheLookup public on | + | |
- | </IfModule> | + | **Note:** If you are enabling LiteSpeed Cache through our [[litespeed_wiki:cpanel:whm-plugin-lscwp-management|WHM Plugin]], you may skip this step. |
+ | |||
+ | <code> | ||
+ | <IfModule LiteSpeed> | ||
+ | CacheLookup public on | ||
+ | </IfModule> | ||
+ | </code> | ||
===== Advanced Cache Configuration ===== | ===== Advanced Cache Configuration ===== | ||
For Advanced Cache Configuration info, **[[litespeed_wiki:cache:common_installation:advanced|look here]]**. | For Advanced Cache Configuration info, **[[litespeed_wiki:cache:common_installation:advanced|look here]]**. |