Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4891

Improve MapEntries to cache searched vanity paths

    XMLWordPrintableJSON

Details

    Description

      At the moment PROP_MAX_CACHED_VANITY_PATHS limits the number of in memory cached vanity paths in order to have a faster startup.

      I'd propose to slightly change the semantic of the limit of the cache .
      We can indeed limit the cache only for startup and when a vanity path query is executed and results are returned those can be added to the cache (and not thrown away as is now).
      If this same entry will be again requested it will be delivered from the cache, so fast.

      Attachments

        1. SLING-4891-patch.txt
          7 kB
          Antonio Sanso
        2. SLING-4891-patch2.txt
          7 kB
          Antonio Sanso
        3. SLING-4891-patch3.txt
          12 kB
          Antonio Sanso

        Activity

          People

            asanso Antonio Sanso
            asanso Antonio Sanso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: