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:troubleshooting:yith-woocommerce-wishlist [2018/07/26 13:37] Eric Leu |
litespeed_wiki:cache:lscwp:troubleshooting:yith-woocommerce-wishlist [2020/05/04 13:50] Shivam Saluja |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Excluding YITH WooCommerce Wishlist From Cache ====== | + | ====== Excluding Cookie-Based Plugins From 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]]. | ||
- | The simplest way to avoid cache-related problems with the YITH WooCommerce Wishlist plugin is to exclude the wishlist from cache entirely. | + | 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. |
- | YITH's wishlist is cookie-based, and so you need only add the ''yith_wcwl_products'' cookie to LiteSpeed Cache's Exclude settings. | + | ===== 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|}} | {{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 ''yith_wcwl_products'' in the box. If you are excluding multiple cookies in this setting, make sure each cookie has its own line. | + | 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. |
- | ===== Build-in exclude plugins===== | + | ===== Built-in Excluded plugins===== |
- | - Woocommerce Wish List | + | 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. |
- | - wp-poll | + | |
- | Above plugins had been list as compatible to-do list. | + | 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. |
- | For now, it will auto set as ''Do Not Cache'' by default if plugin detected by lscache. | + | |
+ | - [[https://wordpress.org/plugins/yith-woocommerce-wishlist/|Woocommerce Wish List]] | ||
+ | - [[https://wordpress.org/plugins/wp-poll/|WP Poll]] | ||