WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Controlling the flushing of WP Supercache (2 posts)

  1. jools73
    Member
    Posted 1 year ago #

    Firstly... well done on shipping TablePress. Just the ability to have an edit link below each table has saved tons of support queries from editors trying to work out which table to edit on any given page.

    I've noticed that it flushes out the cache created by WP Supercache, which is great... to a point. Flushing the entire cache after just making a single table change seems like a nuclear option. I have a table on my site that are updated every 15 minutes by the Auto-update plugin (again - great work), but flushing the entire cache every time this runs is dragging down the performance of my site.

    Some level of table level control, or more granular cache flushing would be a massive improvement

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

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your post.

    You are right, TablePress does flush the cache of WP Supercache. Unfortunately, the only real option here is to flush the entire cache, as TablePress can not know for sure on which pages a table is shown.

    Your best choice might therefore be to turn of the automatic cache flushing in TablePress. You will then have to manually flush the cache of WP Supercache, after editing a table.
    To do that, please add

    add_filter( 'tablepress_flush_caching_plugins_caches', '__return_false' );

    to the "functions.php" or your theme, or into a small new plugin.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic