apc_compile_file> <apc_cas
Last updated: Fri, 24 Feb 2012

apc_clear_cache

(PECL apc >= 2.0.0)

apc_clear_cache Limpa o cache do APC.

Descrição

bool apc_clear_cache ([ string $cache_type ] )

Limpa o cache do usuário/sistema.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Parâmetros

cache_type

Se cache_type for "user", o cache do usuário será limpado; caso contrário, o sistema de cache (arquivos cacheados) será limpo.

Veja Também

  • apc_cache_info() - Retorna informação guardada (e meta-dados) de registros do APC



User Contributed Notes
apc_clear_cache
anthon at piwik dot org
29-Feb-2012 10:41
Looking at the APC source, apc_clear_cache() only recognizes "user" as a cache_type.  If cache_type is omitted, or any other string (including "opcode") is provided, the effect is to clear the system cache.
Colin M
15-Jun-2010 10:13
It appears for me in PHP 5.2.11/APC 3.1.2 that to clear the opcode cache the argument must be 'opcode'. Having no argument seems to have no effect.

apc_compile_file> <apc_cas
Last updated: Fri, 24 Feb 2012