Введение

OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.

This extension is bundled with PHP 5.5.0 and later, and is » available in PECL for PHP versions 5.2, 5.3 and 5.4.

Коментарии

Is thee good pratices for using the cache?

I would assume that php sources with a lot of conditional include would be less good, because such a source would be cachable as "text", but not as byte code.

I would assume that unconditional include (and even a lot of includes) - mostly in the main php source would be best.
Therefore include of class definitions seems to be a good usecase.
2013-07-27 17:43:13
http://php5.kiev.ua/manual/ru/intro.opcache.html

    Поддержать сайт на родительском проекте КГБ