XenForo
Administrative
- Thread starter
- Admin
- #1
PHP 7.4+ provides a php script preloading function with the opcache.preload directive.
It requires a file, preload.php is commonly used, to provide a list of the php files to preload.
From PHP: Preloading - Manual ...
"PHP can be configured to preload scripts into the opcache when the engine starts [...] and load code into persistent memory"
... thus XF php code will remain in memory, instead of having to be processed and loaded each time it's...
Read more
ادامه مطلب...
It requires a file, preload.php is commonly used, to provide a list of the php files to preload.
From PHP: Preloading - Manual ...
"PHP can be configured to preload scripts into the opcache when the engine starts [...] and load code into persistent memory"
... thus XF php code will remain in memory, instead of having to be processed and loaded each time it's...
Read more
ادامه مطلب...