• Resolved futureyoon

    (@futureyoon)


    Hi

    I would like to check a scenario like this below.

    I have a list of listing grid of the services on a page.
    When a user has not logged in (visitor), the page (that contains the listing grid) loads fairly quick but when this user logged in, the same page loads very slow.

    so I assume that w3 cache plugin will go and fetch the data for grid when a user logged into the site.

    My question is
    is there any way to make this particular listing grid to be cached regardless the user logged in or not?
    I was told there is such thing called dynamic cache policy.. not sure.. anyway

    If this is not possible with free version, is it possible with premium version? if so, do you mind sharing some documents about it? so I can understand better and see if that’s feasible to implement before purchase?

    Please guide me on this.
    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @futureyoon

    Thank you for reaching out and I am happy to assist you with this.
    This happens because, by default, Page Caching is not enabled for logged-in users.
    There is no way to only cache a particular section of the page for logged-in or logged-out users.
    It’s never recommended to use Page Caching for logged-in users, however, what you can do is to enable Page Caching only for specific User Roles, and make sure that the user role of your subscribers is unchecked. Make sure to exclude specific pages from being cached like /my-account/, /shop/, /cart/, and any other pages that may contain sensitive data.
    You can do this in the Performance>Page Cache:

    This way, the only user role that will get the cached pages besides logged-out users are subscribers.
    Once again, it’s not recommended to cache pages for logged-in users, and this is a suggestion of a possible workaround.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘cache of listing grid for logged in user’ is closed to new replies.