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

More options for HTTP cache settings

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0-rc-1
    • Fix Version/s: 6.1-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      Documented in xwiki.cfg
    • Similar issues:

      Description

      Currently the content generated from .vm templates can either be non-cached (default), or cached (actually, browser's default cache settings), depending on whether there's a headers_nocache long property in XWiki.XWikiPreferences. There should be more options possible:

      • always allowed to be cached publicly
      • allowed to be cached privately
      • never stored, not even in the back-forward cache

      Additionally, since adding this property in XWikiPreferences beefs up a class that's already close to the limit of a class definition, the cache should also be configurable in xwiki.cfg, under the xwiki.httpheaders.cache key.

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: