PHP Function OPcache Compile File
php function opcache_compile_file
OPcache is a cache that stores pre-compiled PHP script bytecode in memory for faster execution. This can significantly reduce your Website's response time. It is included with PHP 5.5 and newer, but it can be manually enabled in previous versions of PHP by installing the Zend OpCache pecl extension.
Invalidates a specific cached script from the opcode cache. The force option is optional; if not set, the cached script will only be invalidated if its modification time is newer than the opcodes in the cache. Otherwise, the cached script will remain valid until it is recompiled or expires.
Returns the amount of memory that OPcache has consumed. This is useful for tuning the system if it has a lot of files, and to prevent the cache from thrashing.
The max number of files that OPcache will compile in a single run. It is recommended to set this value a little higher than the actual number of files in your app, so that it will be easy to clear the cache when necessary.
A script that is compiled and stored in the opcode cache at server startup. This is used to preload other files, which will be included when the Web application runs. This script can be a simple include, or it can support conditional declarations by including other files.
Whether or not this cache is tied to the process that executes PHP, such as php-fpm or apache (if you use mod_php). This can help prevent issues when changing your configurations at the command line.