After reading the Wiki, I am still a little confused about when to use each one and why there are two caches in the first place. A typical website of ours will use WordPress and WooCommerce. We want them cached to speed them up primarily for anonymous website visitors and especially for Google page ranking purposes (speed factor). Could someone please address my initial assumptions:
Thankyou in advance
- Our websites should typically ONLY require use of Public cache
- If members do log into our websites (eg: shopping members) they will still receive the same benefits from the Public cache and it will work as expected or it will not function correctly and these pages MUST be set to use Private cache (so we will be using two different caches on the same website)?
- Public cache cannot be set to Global so that it is on for all websites
- Private cache is really only suitable for forums and website apps such as Facebook, etc where visitors are primarily members
- Are there any good use-cases with REAL working code for caching a typical WordPress and WordPress/WooCommerce website? I ask this because much of the code that i am typically forming from the documentation is not working as expected. I'd just like to see an example that turned the public cache on, excluded pages that had "cart" in the URL and excluded pages that contained the following string "/?add-to-cart=" in the URL. Please note: we would like to avoid adding any code to our website pages (with exception of htaccess) or having to set any special cookies specifically for Litespeed.
Thankyou in advance