You can clear the cache by calling the following functions. You can use them outside of the plugin.
You can clear all the cache with the following functions. The function takes only 1 parameter. The rebuild cache operation is successively called if you enabled the preload option.
// it clears all the cache
// it clears cache of all sites
// it clears all the cache with the minified sources
and You can delete the cache of a post, a page or a custom page by calling the function. The function takes only 1 parameter. You need to enter the id of the content. The cache of post’s tags, archive and category are cleared as well.
//it clears the post with ID 1923
Note: If you are using WPML plugin, you need to disable the Make themes work multilingual option as below. Otherwise, it returns the default language url.