Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
None
-
4.0.1
-
None
Description
If we bundle a filelist.php file with each extension, which contains a list of files inside that extension, then we can replace all file_exist calls with an API call which checks the file list array (with a simple in_array()) instead of on the physical file system (when development mode is disabled for example) . When an extension gets enabled or disabled, file lists of all active extensions are merged and cached (per site access of course), so only 1 global file list can be checked.
This may be a solution for all file_exists() optimizations.
Attachments
Issue Links
- relates to
-
EZP-13382 ezini ini loading order
- Closed
-
EZP-13729 file_exists optimization - cache the final location of non-template design files
- Closed
-
EZP-13730 file_exists optimization - cache the location of design base directories
- Closed
-
EZP-13731 file_exists optimization - eZExtension::prependSiteAccess() when EZP_INI_FILEMTIME_CHECK is disabled
- Closed