• Resolved Martin Taylor

    (@docdunning)


    Hi

    Our site has many different roles, each able to view different sets of content. From what I can see, and from some basic testing I’ve done, the “Vary groups” feature will be ideal.

    However, I want to understand what other config settings to apply:

    1. I’ve read that I do not need to enable ESI in order for Vary Groups to work, even though Vary Groups is on the ESI settings tab. Is that correct?
    2. Clearly, anyone with a role is by definition logged in. With Vary Groups, I don’t want private caching, so should I set “Cache Logged-in Users” On or Off?

    Thanks,

    Martin Taylor

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    if you don’t want to “private cache” , then vary group setting won’t come into effect after all

    yes, set cache login user to off

    Best regards,

    Thread Starter Martin Taylor

    (@docdunning)

    @qtwrk

    Thanks for your reply ?? … just to be really clear on this:

    Cache Logged-In Users = “Off”.
    ESI = “Off”
    Set the Vary Group numbers so that each role has a non-zero value. Some of them might have the same number, so will be in the same group.
    LSC will then create a cache for each group, and another cache for people who are not logged in.

    I think that’s right, and I’ll be trying it out soon, but it would be good to have it confirmed.

    Edit – see my follow-up post below after some testing.

    • This reply was modified 3 years, 4 months ago by Martin Taylor.
    Thread Starter Martin Taylor

    (@docdunning)

    I’ve found that ESI has to be “On”, in order for Vary Groups to work.

    So going back on my previous post:

    Cache Logged-In Users = “Off”.
    ESI = “On”
    Set the Vary Group numbers so that each role has a non-zero value. Some of them might have the same number, so will be in the same group.
    LSC will then create a cache for each group, and another cache for people who are not logged in.

    Plugin Support qtwrk

    (@qtwrk)

    you are now know vary group better than me ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vary groups config’ is closed to new replies.