• Resolved Arturrrro

    (@arturrrro)


    Hey
    I added to the file functions.php filter blocking deleting cache files

    add_filter( 'tablepress_flush_caching_plugins_caches', '__return_false' );

    but still on the table updating cache files are deleted (remain empty directories of cache or html files are deleted and there are files .needs-rebuild).

    How completely block interference plugin TABLEPRESS the cache files generated by WP Super Cache?

    P.S.
    sorry for my English ??

    https://www.ads-software.com/plugins/tablepress/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This line of code is sufficient to turn off any cache flushing in TablePress.

    If your caches are still flushed, something else is doing it.

    Regards,
    Tobias

    Thread Starter Arturrrro

    (@arturrrro)

    Therefore, if you agree that this line of code just turns off completely and remove the cache means that WP Super Cache captures some action realized in TablePress. The only question is what?

    Too often I update the data in the table to allow the removal of more than 2,000 files cache. I prefer to do it manually for the two sides.

    Any ideas?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    internally, TablePress uses Custom Post Types (in particular, one with the name “tablepress_table”). Could your caching plugin maybe be configured to check for changes on those?

    Regards,
    Tobias

    Thread Starter Arturrrro

    (@arturrrro)

    Yeah ??

    15:15:24 685 /wp-admin/admin-ajax.php wp_cache_post_id_gc post_id: 248 https://XXXXXX/?post_type=tablepress_table&p=248 clearing cache in /home/XXXXX/wp-content/cache/supercache/XXXXXXX/.

    Thank you. The only question is what to do by WP Super Cache avoided Custom Post Types “tablepress_table”? ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    good to hear that you found this! ??
    Unfortunately, I’m not familiar with WP Super Cache, so that I can only suggest to ask in their forums.

    Regards,
    Tobias

    Thread Starter Arturrrro

    (@arturrrro)

    I am afraid that there will not have such support as from you ??

    I was looking for a little bit in the code but I could not find a solution ??

    It turns out that you added cache cleaning for WP Super Cache is no longer needed because the cache is cleared after all ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    Yes, I could then probably remove the cache clearing in TablePress, but it might not hurt, in case someone uses and older version.

    Best wishes,
    Tobias

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

    Thread Starter Arturrrro

    (@arturrrro)

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great! Thanks for posting this as a reference here!
    I hope that they can find a solution to exclude custom post types!

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘disable clean cache file from WP Super Cache (1 post)’ is closed to new replies.