• Resolved RS

    (@rsdotscot)


    Hi folks,

    Is it possible to disable the cache for users which are not in the ‘no role’ and ‘subscriber’ roles while keeping it enabled for users which are in those roles?

    Thanks in advance ??

    Cheers,
    RS

    • This topic was modified 4 weeks ago by RS.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rsdotscot

    Thank you for reaching out and I am happy to help!
    In the Performance>Page Cache – General box, there are two options: ”?Don’t cache pages for logged-in users” and ”?Don’t cache pages for following user roles”

    If I understand correctly, you want to disable the cache only for the ?‘no role’ and ‘subscriber’ roles?
    If this is the case, disable the ”?Don’t cache pages for logged-in users” and enable”?Don’t cache pages for following user roles”, making sure to select user roles that should not receive cached pages like ‘no role’ and ‘subscriber’

    All other roles will have the pages cached for them.
    Your framing of the question is somewhat confusing so please let me know if I got this correctly

    Thanks!

    Thread Starter RS

    (@rsdotscot)

    Hi @vmarko,

    Apologies, I was a bit clumsy with my language. The roles I mentioned I would want the cache to remain enabled for them, but disabled for the rest. What you’ve said makes total sense ??

    Just having a quick look at the section you mentioned and I can see all roles from administrator down to subscriber, but no ‘no role’. Would I be safe to assume that ‘no role’ users would just get the cached pages regardless?

    Thanks again ??

    Cheers,
    RS

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rsdotscot

    Thank you for your feedback.
    I am not sure if that role exist in your case. I’ve just created the mentioned role and it is now showing in the Page Cache settings. Please check the screenshot below:

    I hope this helps!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.