85

An attempt to implemnt "preloading" ability. by dstogov · Pull Request...

 5 years ago
source link: https://github.com/php/php-src/pull/3538
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
On startup, PHP may execute a script defined by opcache.preload configuration directive.All function and classes loaded by this script became permanent and available to all the following requests.For example, it's possible to preload almost whole Zend Framework, and save significant time on each request.This is an unfinished PoC yet.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK