Closed (fixed)
Project:
PHP Preloader
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2020 at 03:38 UTC
Updated:
1 Aug 2020 at 04:59 UTC
Jump to comment: Most recent
Since we built the list of files to be preloaded from opcache statistics, a lot of files we don't want to preload are also included. Typically, we shouldn't preload any files that have a side-effect.
We should only be preloading files that only have a class definition. One way we can avoid other files is by filtering out files that have words like `functions` or `bootstrap` in its name.
Comments
Comment #3
hussainweb