1.

What is OPcache?

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.

  1. 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.
  2. OPcache is bundled with PHP 5.5 and higher. OPcache is more closely bound to PHP itself than other bytecode cache engines like APC.
  3. 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()


Discussion

No Comment Found