Title: Some Oddities
Last modified: September 1, 2016

---

# Some Oddities

 *  Resolved [mikemvs](https://wordpress.org/support/users/mikemvs/)
 * (@mikemvs)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/some-oddities/)
 * I’ve been having issues with W3 Total Cache since the update to 4.5.3, and decided
   to look for something new that can do memcache.
 * This seems to work great, but a few issues popped up.
 * The comment count on the front page didn’t update when one was posted, changes
   to the site (added widgets, removed or added menu items) didn’t show up.
 * A test post automatically showed up for me as both a logged in user, and then
   still was showing logged out. Same with the comments themselves. New comments
   showed up, the counter just failed to update.
 * I talked with my host, and this is what they found.
 * **I have been able to confirm that the cause of the issues is the caching being
   done by Simple-Cache and that when using the “Purge cache” button nothing is 
   ever removed. This was all tested on `app01` so the results should have been 
   consistent with what I was seeing while watching the server.**
 * Keys are added to memcache in the following file at line 125:
 * `/wp-content/plugins/simple-cache/inc/dropins/memcached-object-cache.php`
 * I have confirmed that the keys are actively being added and that the nameing 
   scheme matching the scheme of the keys being used to serve things such as article
   details for the home page.
 * Similarly, this same file has the function that is used to clear the cache at
   line 219. I have confirmed that when using the clear cache button, the corresponding
   function is never actually called. This appears to be true for other actions 
   that should clear the cache as well such as posting new comments or making changes
   to widgets.
 * From what I am seeing, the cache flush function should work, but is never actually
   called when the even is supposed to be triggered. I would advise contacting the
   author of the plugin to see if they can offer any further insight with this issue.
 * If you would like we can try clearing memcache to force the site to update for
   now, however this is obviously not a long term solution.
 * If you could provide any assistance, it would be greatly appreciated. Thanks!
 * [https://wordpress.org/plugins/simple-cache/](https://wordpress.org/plugins/simple-cache/)

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

 *  Plugin Author [Taylor Lovett](https://wordpress.org/support/users/tlovett1/)
 * (@tlovett1)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/some-oddities/#post-7576244)
 * Do you have page caching enabled or just object caching?
 *  Thread Starter [mikemvs](https://wordpress.org/support/users/mikemvs/)
 * (@mikemvs)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/some-oddities/#post-7576247)
 * Hi,
    Both were enabled.
 *  Plugin Author [Taylor Lovett](https://wordpress.org/support/users/tlovett1/)
 * (@tlovett1)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/some-oddities/#post-7576278)
 * Pushed 1.5.5 today which should fix cache purging with Memcached.
 * The functionality of Memcache/Redis and page caching is NOT well documented. 
   Here’s how it works:
 * – When a URL is accessed 2 or more times in 2 minutes, cache it for page cache
   length (set in admin).
    – Cache is NEVER flushed if something updates.
 * Having Memcache as a key value store is super powerful because we can only cache
   in high traffic situations.

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

The topic ‘Some Oddities’ is closed to new replies.

 * ![](https://ps.w.org/simple-cache/assets/icon-256x256.png?rev=1389527)
 * [Simple Cache](https://wordpress.org/plugins/simple-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Taylor Lovett](https://wordpress.org/support/users/tlovett1/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/some-oddities/#post-7576278)
 * Status: resolved