|
Answer» Performance is a very important aspect considered in any language at RUNTIME. In ORDER to improve the performance of the PHP runtime engine, OPcache can help in a significant way. - 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.
- OPcache is bundled with PHP 5.5 and higher. OPcache is more closely bound to PHP itself than other bytecode cache engines like APC.
- The whole cache engine works in the background and is transparent to a visitor or a WEB developer. In order to check its status, you may use ONE of the two functions that provide such information: opcache_get_configuration() and opcache_get_status()
|