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.
On each request PHP first compiles script and then execute it. Average compilation time of script is about 22.55% of total time . In opcache we save output of compilation in shared memory so on next request there is no need to load and compile the script and request is served by executing cached data. Thus by using opcache we can reduce load time of application by a huge margin.
Some Members love to do a lot of Wordpress and Joomla testing, Module installation, plugins etc. Such tasks take time to load in your browser which waste time during development. To Optimize this, We use OpCode-caching. MySQL / MariaDB Server will be pre-configured with a lot of optimizations which will reduce the risk of data curroption by over 90% for especially InnoDB tables. These optimzations are carefully selected to ensure highest possible security and speed.
Tuesday, May 5, 2015