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!
- The topic ‘Some Oddities’ is closed to new replies.