Title: persistent plugin settings
Last modified: April 2, 2021

---

# persistent plugin settings

 *  Resolved [h20melonman](https://wordpress.org/support/users/h20melonman/)
 * (@h20melonman)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/persistent-plugin-settings/)
 * Is there a way to configure the plugin so it can retain state ? I noticed you
   can export / import settings. If the wp host is docker, how can i automate settings?
   ie I want it to come up initialized ( seems to be ok .. ie the db knows its active?)
   and with like db and page cache .. w/o manually uploading a config or clicking
   settings. IS there a file we can include that once configured will remember state.
   thanks !

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

 *  Thread Starter [h20melonman](https://wordpress.org/support/users/h20melonman/)
 * (@h20melonman)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/persistent-plugin-settings/#post-14270865)
 * or rather can it remember configuration. the cache dir would be local to the 
   container. but we want the plugin to be pre configured. ie same as how you set
   the database, users, host ect in the main wp config.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/persistent-plugin-settings/#post-14275784)
 * Hello [@h20melonman](https://wordpress.org/support/users/h20melonman/)
 * Thank you for your inquiry and I am happy to assist you with this.
    You can use
   wp-cli and set config values using it. Or you can use and modify the w3tc-config/
   master.php file directly Thanks!

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

The topic ‘persistent plugin settings’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/persistent-plugin-settings/#post-14275784)
 * Status: resolved