• Resolved rklrkl

    (@rklrkl)


    This plugin looks useful, but I manage a lot of WordPress sites and use WP-CLI extensively to keep things consistent across sites. There’s several settings in this plugin that I’d like to change the default values of and I’d also like to be able to flush the object cache in a programmatic manner. Are there plans to add to WP-CLI support to this plugin i.e. replicate all the settings panel functionality as WP-CLI options?

    Talking of flushing the object cache, are there any circumstances where it’s advisable to manually initiate a flush? For example, if WordPress core, plugins or themes get added, deleted or updated? Or does the plugin handle these cases without manual intervention?

Viewing 1 replies (of 1 total)
  • Plugin Author OllieJones

    (@olliejones)

    It’s a good idea to add WP-CLI support, thanks!

    You can flush the cache from WP-CLI by deactivating, then reactivating the plugin. This simply deletes and reinitializes the cache’s sqlite database.

    I haven’t yet found any situations where it’s necessary to flush the cache manually. (Except for a very strange one: when I was working on development for the SQLite Database Integration plugin a while ago things got out of sync with this plugin. But that was a development version of a plugin with a very atypical use case.)

Viewing 1 replies (of 1 total)

The topic ‘WP-CLI support?’ is closed to new replies.