downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

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

view this page in

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



add a note add a note User Contributed Notes apc_clear_cache
anthon at piwik dot org 29-Feb-2012 06: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 07: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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites