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

Ignore cache-control requests in some cases

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.8
    • Containers
    • Unknown

    Description

      Some caches with content preparation are skipped when the HTTP request sends a Cache-Control: no-cache (the idea being that there might still be some variation in the preparation in some cases, and we wanted to give a way to force it to not be stuck):

      • templates cache
      • document content XDOM
      • various wiki extension content (wiki macros, panels, ui extensions, etc.)
      • ...

      Problem is that we noticed recently on production a high number of those cases and suspect that some bots are always sending Cache-Control: no-cache with each HTTP request, which makes the cache totally useless.

      See https://forum.xwiki.org/t/cache-servletcontext-getresource/16416 for some ideas.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: