Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6803

Provide a way to for persistent cache to determine which all nodes can be cached

    XMLWordPrintableJSON

    Details

      Description

      Currently persistent cache if enabled for nodes caches all nodes accessed on the system. It would be better if it can be configured to only cache those nodes which are not volatile so that caching can be effective

      Purpose of this issue is to

      • Provide an extension point in PersistentCache logic to check if a node is to be cached
      • Provide an impl which relies on some static OSGi config to determine that

      Later we can make this impl dynamic i.e. rely on access pattern to cache imp stuff

        Attachments

        1. OAK-6803-v2.patch
          17 kB
          Chetan Mehrotra
        2. OAK-6803-v1.patch
          13 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: