lbenevento
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] WC Store API cart is cached.Oh okay, got it! Thank you for the alternative.
Forum: Plugins
In reply to: [LiteSpeed Cache] WC Store API cart is cached.Okay so, quoting what I believe is an official blog post by LiteSpeed:
For starters, if WooCommerce says something is cacheable, then LSCache will cache it. Alternately, if WooCommerce doesn’t want something cached (like, for instance, the Cart, My Account, and Checkout), LiteSpeed will automatically respect that, and will not cache those pages. There’s no extra configuration required.
https://blog.litespeedtech.com/2017/05/24/wpw-using-lscache-with-woocommerce/That’s to say that yes, I want to cache REST APIs. I don’t want to cache what is not supposed to be cached like the Cart, Checkout and whatever else. But I do want the cache on for, for instance, products.
Hopefully that’s a bit clearer!
- This reply was modified 3 years ago by lbenevento.
Forum: Plugins
In reply to: [LiteSpeed Cache] WC Store API cart is cached.I set the Cache REST API option to off as you requested. It’s not caching it now but it was before and it will if I re enable REST API caching.
Edit: I set it to on again so you can see the caching in action.
- This reply was modified 3 years ago by lbenevento.
- This reply was modified 3 years ago by lbenevento.
Forum: Plugins
In reply to: [LiteSpeed Cache] WC Store API cart is cached.If that’s for you to test something it’s now disabled!