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

More options for HTTP cache settings

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.1-milestone-1
    • 6.0-rc-1
    • Old Core
    • None
    • Unknown
    • Documented in xwiki.cfg

    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

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

            Dates

              Created:
              Updated:
              Resolved: