Title: Possible Plugin Improvement
Last modified: August 21, 2016

---

# Possible Plugin Improvement

 *  Resolved [awhig](https://wordpress.org/support/users/awhig/)
 * (@awhig)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/)
 * Hi,
 * I use W3 Total Cache, as my caching plugin. I specifically use the Object Cache,
   to improve the speed of my WP install.
 * I was doing some testing, to see if I could speed up my site, and saw that many
   queries were being repeated over and over against my DB. I investigated and saw
   that data was being stored in the object cache, but found that the object cache
   was being flushed periodically, about once every 5 minutes.
 * I tracked the cause being this plugin. It stores the last run time in the wp 
   options table, using update_option method.
 * When an option is updated, this causes the Object Cache to be flushed, as the
   options are also stored in the object cache.
 * This then causes all of the stored data to be flushed and all of the queries 
   have to be re-executed.
 * I’m pretty sure most persistent object cache’s also flush when the options are
   ever updated (Super Cache, etc). This increases load on the DB and slows down
   performance for WP.
 * Please consider using another mechanism to store the last run time of the plugin.
   I believe the options data should be pretty much static. It shouldn’t be updated
   every 5 minutes. It should only be updated whenever the admin makes a material
   change to WP or plugin settings, which does not happen in the normal execution
   of the site.
 * I’m not sure where to store this info though. Because I’m using a persistent 
   object cache, I can make the change in my own local copy to store the last run
   time in the object cache (wp_cache_set() ), instead of the update_option(). This
   would work in my case, but would not work for everyone, as they may not be using
   a persistent cache.
 * Thanks,
    Rich
 * [https://wordpress.org/plugins/wp-missed-schedule/](https://wordpress.org/plugins/wp-missed-schedule/)

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

 *  Plugin Contributor [slangji](https://wordpress.org/support/users/slangji/)
 * (@slangji)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/#post-4701051)
 * _so?_
 * **1st:**
    if you need other times of checking consider [WP MIssed Schedule Gold](http://wordpress.org/support/topic/special-gold-edition-version-installation-guide)
   download [here](http://downloads.wordpress.org/plugin/wp-missed-schedule.2013.1231.2013.Special-Gold-Edition.zip)
 * **2nd:**
    if you have your own code (or alternate) solution, i am happy to analize
   it and implement on developmental version … send [here](http://slangji.wordpress.com/contact/)**
   please note that this code was compatible with WordPress 2.5+ to 3.9+**
 * **3rd:**
    configure W3 Total Cache or WP Super Cache to exclude from object caching
   WP MIssed Schedule
 * **4th:**
    use alternative Object Caching method [Tribe Object Cache](http://wordpress.org/plugins/tribe-object-cache/)
   for example …
 * >  This issue was inserted as **Ticket #5333092** on to [Todo List](http://wordpress.org/extend/plugins/wp-missed-schedule/changelog/)
   > for Future Development.
 * Thanks to [awhig](http://wordpress.org/support/profile/awhig) and all others 
   users was send me same solution via [Contact](http://slangji.wordpress.com/contact/)
   form …
 * If are satisfied of this plugin, please, consider one small [Donation](http://slangji.wordpress.com/donate/)
   for my free work. 🙂
 * **P.S.**
    Remember that your implementation request is not planned for free plugin
   but for pay plugin or donation users: read changelog [here](http://wordpress.org/plugins/wp-missed-schedule/changelog/)
   😉
 *  Plugin Contributor [slangji](https://wordpress.org/support/users/slangji/)
 * (@slangji)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/#post-4701184)
 * > I was doing some testing, to see if I could speed up my site, and saw that 
   > many queries were being repeated over and over against my DB. I investigated
   > and saw that data was being stored in the object cache, but found that the 
   > object cache was being flushed periodically, about once every 5 minutes.
   > I tracked the cause being this plugin. It stores the last run time in the wp
   > options table, using update_option method.
   > When an option is updated, this causes the Object Cache to be flushed, as the
   > options are also stored in the object cache.
   > This then causes all of the stored data to be flushed and all of the queries
   > have to be re-executed.
   > Please consider using another mechanism to store the last run time of the plugin.
   > I believe the options data should be pretty much static. It shouldn’t be updated
   > every 5 minutes. It should only be updated whenever the admin makes a material
   > change to WP or plugin settings, which does not happen in the normal execution
   > of the site.
 * Try [WP Missed Schedule 2014](http://downloads.wordpress.org/plugin/wp-missed-schedule.2014.0316.0230.zip)
   with **new cron checking interval coding** … 😉
 *  Plugin Contributor [slangji](https://wordpress.org/support/users/slangji/)
 * (@slangji)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/#post-4701294)
 * Plugin improvements was implemented, and works fine: thanks!
 *  Plugin Contributor [slangji](https://wordpress.org/support/users/slangji/)
 * (@slangji)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/#post-4701303)
 * The next “update” is planned for WordPress 4.0+ …

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

 The topic ‘Possible Plugin Improvement’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-missed-schedule_8d8370.svg)
 * [Missed Schedule Fix WP Failed Future Posts](https://wordpress.org/plugins/wp-missed-schedule/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-missed-schedule/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-missed-schedule/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-missed-schedule/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-missed-schedule/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-missed-schedule/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [slangji](https://wordpress.org/support/users/slangji/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/possible-plugin-improvement/#post-4701303)
 * Status: resolved