WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Odd issue - table not up-to-date for users not logged in (5 posts)

  1. jkewiz
    Member
    Posted 9 months ago #

    I currently use TablePress to display widgets inside a page, using the plugin, "Widgets On Pages", and I'm having a weird issue where if a user is not logged in (aka guest), they won't get an updated version. It's almost like TablePress is saving a cache of the data and displaying an old version for guests, and the up-to-date version for users that are logged in.

    The odd thing is, if I go into the table, and add some random text and save, then it will update. So then I have to go back and delete it. It's really quite odd.

    I'm using the latest version of WordPress and TablePress. Unfortunately I can't like to the table/page as it has an IP filter on it.

    http://wordpress.org/plugins/tablepress/

  2. Fiction Edge
    Member
    Posted 9 months ago #

    Are you using any kind of cache plugin or is your web hosting using one?
    Are you testing using a private window? If not you should because the browser itself might be doing some cache and messing up with what you see.
    If you're using some cache plugin, disabled it for test purposes and clear it's cache.
    If your service provider uses some cache software designed fo WordPress your should contact hime regarding this issue.

    cheers

  3. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    thanks for your post, and sorry for the trouble.

    What you describe fits perfectly to the internal cache that TablePress is using. TablePress caches the generated HTML code of a table, but only uses the cache for non-logged-in users. So, you'll simply have to turn off the caching for this table, by adding another parameter to the Shortcode:

    [table id=123 cache_table_output=false /]

    Regards,
    Tobias

  4. jkewiz
    Member
    Posted 9 months ago #

    Thanks Tobias! Maybe you should put this in the FAQ/Support, it was confusing me a lot.

  5. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    yes, that's good idea. Thanks for the suggestion.

    Best wishes,
    Tobias

    P.S.: In case you haven't, please rate TablePress here in the plugin directory. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic