Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:lscwp:troubleshooting:yith-woocommerce-wishlist [2020/05/04 13:50] Shivam Saluja |
litespeed_wiki:cache:lscwp:troubleshooting:yith-woocommerce-wishlist [2020/11/14 15:44] Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Excluding Cookie-Based Plugins From Cache ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscwp/troubleshoot/~~ |
- | **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]]. | + | |
- | + | ||
- | Some plugins, such as the YITH WooCommerce Wishlist plugin, are incompatible with LSCache for WordPress. The simplest way to avoid cache-related problems with them is to exclude their pages from cache entirely. | + | |
- | + | ||
- | ===== Excluding the Plugin Manually ===== | + | |
- | If a plugin is cookie-based, you need only add the plugin's specific cookie to LiteSpeed Cache's Exclude settings. | + | |
- | + | ||
- | {{litespeed_wiki:cache:lscwp:lscwp-settings-excludes-donotcachecookies.png?direct&800|}} | + | |
- | + | ||
- | From the WordPress Dashboard, navigate to **LiteSpeed Cache > Settings > Excludes**. Scroll down to **Do Not Cache Cookies** and enter ''plugin_cookie'' in the box. Be sure to replace "plugin_cookie" with the //actual// name of the plugin's cookie, as shown in the image. If you are excluding multiple cookies in this setting, make sure each cookie has its own line. | + | |
- | + | ||
- | ===== Built-in Excluded plugins===== | + | |
- | We have some known incompatible plugins on our development to-do list. We intend to fix LSCache compatibility with these plugins eventually, but for now we have set up LSCache to //automatically// set them to Do Not Cache. | + | |
- | + | ||
- | If you are using one of these plugins, you do not have to use the manual steps above! LSCache will automatically exclude them from cache. | + | |
- | + | ||
- | - [[https://wordpress.org/plugins/yith-woocommerce-wishlist/|Woocommerce Wish List]] | + | |
- | - [[https://wordpress.org/plugins/wp-poll/|WP Poll]] | + |