Title: [Plugin: Memcached Object Cache] Cache broken
Last modified: August 20, 2016

---

# [Plugin: Memcached Object Cache] Cache broken

 *  [tchab2](https://wordpress.org/support/users/tchab2/)
 * (@tchab2)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-memcached-object-cache-cache-broken/)
 * Hi,
    I have a serious problem with memcache for a couple of months.
 * I add some rewrite rules filter for a blog. It works fine but after some time,
   when the url is recalled, it returns a 404 not found.
 * I have to flush manually the cache to fix the bug every time.
 * Rewrite rules:
 *     ```
       // <category>/archives/<year>/<month>
         add_rewrite_rule('(.+?)/archives/([0-9]{4,})/([0-9]{2,})/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]&paged=$matches[4]', 'top');
         add_rewrite_rule('(.+?)/archives/([0-9]{4,})/([0-9]{2,})/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]', 'top');
   
         // <category>/archives/<year>
         add_rewrite_rule('(.+?)/archives/([0-9]{4,})/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&year=$matches[2]&paged=$matches[3]', 'top');
         add_rewrite_rule('(.+?)/archives/([0-9]{4,})/?$', 'index.php?category_name=$matches[1]&year=$matches[2]', 'top');
   
         // <category>/archives
         add_rewrite_rule('(.+?)/archives/page/([0-9]+)/?$', 'index.php?category_name=$matches[1]&paged=$matches[2]', 'top');
         add_rewrite_rule('(.+?)/archives/?$', 'index.php?category_name=$matches[1]', 'top');
       ```
   
 * I am not able to reproduce the bug in the development environment.
 * Do you have some councils for me??
 * [http://wordpress.org/extend/plugins/memcached/](http://wordpress.org/extend/plugins/memcached/)

The topic ‘[Plugin: Memcached Object Cache] Cache broken’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tchab2](https://wordpress.org/support/users/tchab2/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-memcached-object-cache-cache-broken/)
 * Status: not resolved