From 754eb5e4fa7e0fe5ab6a0aa45542b34245fb6f2d Mon Sep 17 00:00:00 2001 From: Ankur Oberoi Date: Fri, 27 Feb 2015 00:55:23 -0500 Subject: [PATCH] clear user cache when using APCStorage right now the `clear()` method of APCStorage only clears the system cache. this only contains cached files and not the actual content that was placed there using this API. see details here: http://php.net/manual/en/function.apc-clear-cache.php --- lib/APCStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/APCStorage.php b/lib/APCStorage.php index 22f63e7..6a5a1ae 100644 --- a/lib/APCStorage.php +++ b/lib/APCStorage.php @@ -54,7 +54,7 @@ public function eliminate($key) */ public function clear() { - apc_clear_cache(); + apc_clear_cache('user'); } /**