WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] Private Plugins Cached (3 posts)

  1. webprodigy
    Member
    Posted 4 years ago #

    Hello, I'm using a plugin that uses shortcode to determine whether or not a user is logged in. It then displays different content depending on whether the user is a guest or logged in. Unfortunately the plugin will cache this information, so the content displays content based on the user that last viewed the page. Is there anyway to prevent the plugin from caching this?

    Thanks for your help.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Posted 4 years ago #

    I'm not sure which plugin you're talking about so I can only guess. There are a couple ways to handle this:

    • never cache some pages
    • disable database caching
    • use any page caching method other than disk enhanced
  3. kristarella
    Member
    Posted 3 years ago #

    I'm running into the same issue using Magic Member, WP 3.0.5 and W3TC 0.9.1.3.

    I've disabled database caching and using disk(basic) page caching and still getting pages from logged in members showing the same for not logged in members (i.e., the private content is showing, and the member widget in the sidebar is saying they're logged in, even when I've just logged out).

    Ideally I need separate caches for logged in members and not-logged in members, since most of the site contents will be for only paid members, but we want that content cached because it will be the same for all those logged in.

Topic Closed

This topic has been closed to new replies.

About this Topic