Added purge method to APC and Memcached