• Resolved jupplidhupplid

    (@jupplidhupplid)


    Hi Tobias,
    So I am using WP Super Cache and noticed that when I update one table the cache of the entire site is deleted. I understand that the cache has to be updated in order to show the updated table, but would like to either just delete the cache of the page the table is on (I understand this might be difficult to test) OR disable the cache deleting, so I can manually delete the cache of the relevant page.

    I have hundreds maybe thousands of posts and only very few have tables, so I’d rather not auto-delete the entire site’s cache.

    Any ideas?

    Thanks!!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To turn off the cache-clearing, please add this to the end of your theme’s “functions.php” file:

    add_filter( 'tablepress_flush_caching_plugins_caches', '__return_false' );
    

    Regards,
    Tobias

    Thread Starter jupplidhupplid

    (@jupplidhupplid)

    Works like a charm, thanks!! ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Clearing of entire cache on Table Update’ is closed to new replies.