Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:cache:lscwp:configuration:cache [2018/01/29 21:28] Lisa Clarke [Object Cache] |
litespeed_wiki:cache:lscwp:configuration:cache [2020/05/04 13:39] Shivam Saluja |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LSCWP Configuration Settings: Cache ====== | + | ====== LiteSpeed Cache for WordPress Settings: Cache ====== |
+ | **Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://docs.litespeedtech.com/lscache/lscwp/overview/|the new documentation]]. | ||
- | {{:litespeed_wiki:cache:lscwp:lscwp-settings-cache.png?direct&900|}} | + | {{:litespeed_wiki:cache:lscwp:lscwp-settings-cache.png?nolink|}} |
===== Cache Logged-in Users ===== | ===== Cache Logged-in Users ===== | ||
Line 65: | Line 66: | ||
===== Object Cache ===== | ===== Object Cache ===== | ||
- | //OFF// | + | These settings have moved to [[litespeed_wiki:cache:lscwp:configuration:advanced|the Advanced tab]]. |
- | + | ||
- | Object Cache is disabled by default. Select ''ON'' to enable it and the configure it via the settings described below. You can learn more about object cache [[litespeed_wiki:cache:lscwp:configuration:cache:object_cache|here]]. | + | |
- | + | ||
- | Note: Object Cache settings are only visible in [[litespeed_wiki:cache:lscwp:beginner#switching_between_basic_view_and_advanced_view|Advanced View]]. | + | |
- | ==== Method ==== | + | |
- | //Memcached// | + | |
- | + | ||
- | If your object cache is Memcached or LSCMC, set **Method** to ''Memcached''. If your object cache is Redis, set **Method** to ''Redis''. | + | |
- | + | ||
- | ==== Host ==== | + | |
- | //localhost// | + | |
- | + | ||
- | The hostname or IP address used by your Memcached or LSMCD object cache. The default setting should work fine for you, if your Memcached is set up via a TCP connection. If you are using a UNIX socket, **Host** should be set to ''/path/to/memcached.sock''. (Substitute the actual path used for your installation.) | + | |
- | + | ||
- | ==== Port ==== | + | |
- | //11211// | + | |
- | + | ||
- | The port number used by your object cache. The default setting should work fine for you, if your Memcached is set up via a TCP connection. If you are using a UNIX socket, **Port** should be set to ''0''. | + | |
- | + | ||
- | ==== Default Object Lifetime ==== | + | |
- | //360// | + | |
- | + | ||
- | The TTL for items stored in the object cache. We recommend using a relatively short time in order to avoid stale results. | + | |
- | + | ||
- | ==== Status ==== | + | |
- | + | ||
- | An informational area to let you know the status of your external object cache. If you are getting errors here, please see [[litespeed_wiki:cache:lscwp:configuration:cache:object_cache#how_to_debug|How to Debug your Oject Cache Setup]]. | + | |
- | + | ||
- | ==== Username ==== | + | |
- | Only available when SASL is installed and the object caching method is Memcached. | + | |
- | + | ||
- | ==== Password ==== | + | |
- | Specify the password used when connecting. | + | |
- | + | ||
- | ==== Redis Database ID ==== | + | |
- | Database to be used. This field only appears when the object caching method is Redis. | + | |
- | + | ||
- | + | ||
- | ==== Global Groups ==== | + | |
- | //users \\ | + | |
- | userlogins \\ | + | |
- | usermeta \\ | + | |
- | user_meta \\ | + | |
- | site-transient \\ | + | |
- | site-options \\ | + | |
- | site-lookup \\ | + | |
- | blog-lookup \\ | + | |
- | blog-details \\ | + | |
- | rss \\ | + | |
- | global-posts \\ | + | |
- | blog-id-cache// | + | |
- | + | ||
- | A list of groups that should be cached at the network level. | + | |
- | + | ||
- | ==== Do Not Cache Groups ==== | + | |
- | //comment \\ | + | |
- | counts \\ | + | |
- | plugins// | + | |
- | + | ||
- | A list of groups that should not be included in object cache. | + | |
- | + | ||
- | ==== Persistent Connection ==== | + | |
- | //ON// | + | |
- | + | ||
- | If enabled, the connection is kept alive in order to make Memcached faster. | + | |
- | + | ||
- | ==== Cache WP Admin ==== | + | |
- | //OFF// | + | |
- | + | ||
- | If enabled, WordPress admin will be sped up, but at the risk of occasionally retrieving stale data from the object cache. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
===== Browser Cache ===== | ===== Browser Cache ===== | ||
- | //off// | + | These settings have moved to [[litespeed_wiki:cache:lscwp:configuration:advanced|the Advanced tab]]. |
- | + | ||
- | When Browser Cache is enabled, static files (such as images, css, and videos) are stored locally on the user's device to make subsequent retrieval much faster. You can learn more about this setting [[litespeed_wiki:cache:lscwp:browser_cache|here]]. | + | |
- | + | ||
- | ===== Browser Cache TTL ===== | + | |
- | //2592000// | + | |
- | + | ||
- | The amount of time, in seconds, that files will be stored in the browser cache before expiring. Minimum is 30 seconds. Recommended value is 2592000 (which is 30 days). | + | |
===== Drop Query String ===== | ===== Drop Query String ===== |