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

Browser cache for attachments is never invalidated (needs browser clear cache)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.5
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We currently have no way of invalidating the browser's cache for attachments that have changed (uploaded a new version with the same name). The Attachment URL stays the same, so the browser does not know when to download a new version.

      We could use one for the 2 options:

      Nice Guide on both options: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching

      Note that we are already using the cache buster technique for JSX and SSX resources, to force client cache invalidations whenever they are changed.

      Also, the Skin action could benefit from such an improved cache control for a better response to XWiki updates or to customizations done on the server.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: