• Resolved dynexd

    (@dynexd)


    Hi,
    i have some database table not in WordPress on my website like statistics for football players, everything is managed in php but not via wordpress. Tose statistics are displayed into my wordpress website via “include()” command.

    I think that w3-total-cache empty cache each time a new wp post is published, but i’d like it to empty when i update my others database tables.

    Is there any php code i can use to manually “empty all caches” ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, you can call a number of different functions to clear various caches.
    flush_pgcache() //page cache
    flush_dbcache() // database cache
    flush_minify() // minify cache
    flush_all() //all caches
    Calling flush_pgcache() should be enough.

    If your statistics change often you can tell Total Cache not to cache parts of your WP themes. You find information in Performance->FAQ It is called fragment caching.

    Thread Starter dynexd

    (@dynexd)

    Hey thx 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘External empty cache ?’ is closed to new replies.