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

file_exists optimization - cache the location of design base directories

    XMLWordPrintable

Details

    Description

      On each page request, without the optimization proposed in http://issues.ez.no/13729, a lot of file_exists calls happen because a list of all design base directories is made. See
      eZTemplateDesignResource::allDesignBases().

      For example on the admin interface, with about 19 design extensions, there are about 63 file_exists calls to design directories on each page request.

      Ideally, the locations should be cached. So that only this cache needs to be cleared when you add a new design base directory somewhere in an extension.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: