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

Document Title cache

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • 1.0
    • Model
    • Low

    Description

      Add a cahce of document display titles. Right now you can either use the document name, or load the document and get the display title. First method usually results in CamelCase name, while the second is resource/time consuming.

      We should provide a lazy list of document names, which acts like a cache, adding document names as they are requested.

      Things to consider:

      • Maximum size of the cache (for large sites, like curriki, keeping all the document names in a cache will be almost impossible)
      • Efficient refresh methods (use save notifications)
      • Translation aware
      • Access rights. Should the title of an unaccessible document be readable?
      • Write a distinct component, or add more methods to the XWiki monster?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sdumitriu Sergiu Dumitriu
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: