Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10585

Each call to DefaultWikiDescriptorManager#getAll() generates a database query

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.2-milestone-1
    • 6.1-rc-1
    • Wiki
    • Unknown
    • N/A

    Description

      The cache is used for the descriptors but the actual list of wikis is requested again everytime.

      WikiDescriptorManager should also provide an API to get only the wiki ids since that's actually the main use case and we load all descriptors (not already cached) for nothing most of the time.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: