PATCH to clear APC User Cache from apc.php

From: Date: Tue, 27 Sep 2005 21:30:59 +0000
Subject: PATCH to clear APC User Cache from apc.php
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3009@lists.php.net to get a copy of this message
Hi! Perhaps I overlooked something, but it seems that apc.php bundled with PECL::APC can only delete the System Cache, not the User Cache. I created two alternative patches (against CVS HEAD) to add this feature to apc.php. The first patch only adds apc_clear_cache('user'); If you click "Clear Cache" both caches will be cleared. The second one changes the "Clear Cache" button to "Clear System Cache", and changes to "Clear User Cache" if you view "User Cache Entries". So the user can decide which cache should be cleared. It's an example how I think this could be implemented, perhaps you find a better way - or is there a reason why apc.php can't do this? For me clearing User Cache from apc.php is useful. best regards Andreas

« previous php.pecl.dev (#3009) next »