Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59264
    Louise
    Guest

    Hi there, I’m trying to find a pro caching plugin that allows me to cache and preload content for two different user roles/ logged-in customer types. Is this possible with W3 Total Cache??

    Here are some more details to explain my needs:

    I have two different user roles for logged in users: Customer A and Customer B. Product prices are different for Customer A and Customer B.
    Thus, I would like have 2 cached versions of any page that displays the product prices. The product prices are visible to logged-in users only and are visible on product pages and on any page that displays products.
    Is this possible with W3 Total Cache Pro – and if so how?

    Thank you
    Best regards
    Louise

    #59299
    Marko Vasiljevic
    Keymaster

    Hello Louise.

    Thank you for reaching out and I am happy to assist you with this.
    With W3 Total Cache you can preload the cache, of course, however, it cannot be done for specific user roles.
    The reason for this is that the Preload is based on the sitemap URL, which you need to add to the Cache Preload section in Peformance>Page Cache.
    In any case, it’s not recommended to cache pages for logged-in users to avoid sharing any private and sensitive information which may be cached.
    Once the website is preloaded with W3 Total Cache Cache Preload, those can be served for logged-in users also, however, it’s best to exclude specific pages from the cache like /account/, /checkout/, /cart/
    The prices should be dynamic and firing with ajax, so those should not be cached if this is the case.

    Once again, it’s not recommended to cache pages for logged-in users, and I hope I explained the reason for this.

    Let me know if you have any other questions.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Pre-purchase question regarding caching for different user roles’ is closed to new replies.