Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1041

Allow setting time to live on cache entries

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Cache
    • Labels:
      None
    • Similar issues:

      Description

      Use case:

      • Have a cache macro that allows the user to specify the time to live

      Right now it means creating a new cache for each cache macro usage which means it'll take one thread per usage of the cache macro (for the eviction) which is way too costly

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: