Title: Admin area resets APCu cache
Last modified: August 31, 2016

---

# Admin area resets APCu cache

 *  Resolved [ltdev](https://wordpress.org/support/users/ltdev/)
 * (@ltdev)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/admin-area-resets-apcu-cache/)
 * I have wordpress installed without any caching plugins.
 * On the same server I have some other apps that save some data and session data
   to APCu user cache.
 * I was having a problem where the cache was being flushed at apparently random
   intervals. After some testing I came to the conclusion that it seems to be wordpress
   that’s reseting the cache.
 * Either navigating the admin area or just leaving the admin area open, my cache
   gets emptied everytime wordpress makes a request to the server. Either directly
   or through a wp-admin/admin-ajax.php (heartbeat?) request.
 * I have no idea why this could be happening. I’m not too familiar with wordpress
   but I always assumed that it wouldn’t use any type of cache unless explicitly
   set? Anyway, everytime I load a page, my APCu uptime goes to 0 and I lose all
   cached variables and sessions on my other app.
 * My server details are:
    Wordpress 4.4.1 APCu Version 4.0.7 PHP Version 5.6.17-
   0+deb8u1 Server Software nginx/1.6.2
 * Any advice or insight would be greatly appreciated.
 * Thank you.

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

 *  Thread Starter [ltdev](https://wordpress.org/support/users/ltdev/)
 * (@ltdev)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/admin-area-resets-apcu-cache/#post-6995501)
 * Replying to my own post.
 * I further traced this issue to the plugin “better-wp-security” (iThemes security).
 * This plugin calls apc_clear_cache() on two different occasions and this was causing
   our issues. On APCu this seems to clear the entire user cache. (which makes sense
   as APCu no longer has opcode cache)
 * I’ve posted this bug on the plugins’ support forum.
 *  [cvladan](https://wordpress.org/support/users/cvladan/)
 * (@cvladan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/admin-area-resets-apcu-cache/#post-6995735)
 * Thanks.
 * This hint that the problem could be inside WP
    and not in the OS was enough for
   me to solve my problem.
 * In my case, it was some other plugin.

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

The topic ‘Admin area resets APCu cache’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [cvladan](https://wordpress.org/support/users/cvladan/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/admin-area-resets-apcu-cache/#post-6995735)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
