The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. webprodigy
    Posted 6 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.


  2. Frederick Townes
    Posted 6 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
    Posted 5 years ago #

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

    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