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

Configuration based generic rendering cache

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      The idea is to list page to cache in a central configuration to not have to modify the document (with a special macro or an marker object for example).

      Here is a configuration example:

      #-# Enable/disable rendering cache. false by default
      core.renderingcache.enabled=true
      
      #-# List of document reference pattern to cache (standard java regexp syntax)
      #-# core.renderingcache.documents=.*Blog.*
      core.renderingcache.documents=.*WebHome
      core.renderingcache.documents=[0-9][0-9][0-9][0-9]_[0-9][0-9]_
      
      #-# The time a cached element is cached is seconds. Default is 300s (5 min).
      # core.renderingcache.size=true
      #-# The size od the cache (number of elements). Default is 100.
      core.renderingcache.size=200
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: