Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13732

Let extensions bundle a file list, for quick lookups if files exist

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium 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

        Activity

          People

            unknown unknown
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: