Vary Groups don’t allow assign same number in two or more
-
Hello!
My inform number: FXXKUSAX
We have exactly same situation than described here:
https://blog.litespeedtech.com/2017/09/13/wpw-vary-groups/
B2B store, with 2 differents prices in products, with tier prices, etc, and all depends on user role, if is a visitor, customer, wholesaler…
So actually we starting trying to have 3 cached versions.
1. Visitors (not logged in)
2. Customers (recently registered visitors that are logged in). Here the showed version is the same than for not logged in visitors, so I don’t know if is possible to share same cache version.
3. Wholesalers (visitors with “wholesaler” user role assigned and logged in too to view different prices)
I am trying this:
– Disable the in “cache” tab the generate cache for logged users. I am not sure if is right to have disabled or need to be enabled when using Vary Groups. Can you confirm?
– On ESI tab on “Vary group” I have two user roles trying to put same number to share same cache, but when I click on save, only put in one of them and the other change to 0. Is like is not allowed to use same number to share cache.
– Now I am not sure if its fine to left all other options in 0, due for “customer” user role, will be the same content to show than for not logged in visitors or others user roles like author, contributor, editor, etc… Maybe I need to put any number and repeat the same in all of them, but need to be different than 0 to cache has been generated?
Thank you!
- The topic ‘Vary Groups don’t allow assign same number in two or more’ is closed to new replies.