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

optimize eZContentObject::fetchIDArray for better using eZContentObjectContentObjectCache cache

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2011.9, 4.6.0-dev
    • Caching
    • None

    Description

      The current code selects all objects needed from the db, then inflates the data and creates object objects and stores them in the object cache.

      It would be smarter to 1st check if any of the objects requested are already in the object cache, and remove their id from the select query, then run the select query, then return an array of mixed objects: the newly infalted ones together with the already-in-cache ones

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: