Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-103

Set a header on responses instructing the browser not to cache.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0
    • None
    • None
    • None

      This is a "quick fix" so that images will be updated in the admin interface and on the website pages after they have been altered. It is possible to replace an image with a new image, or to edit an image via cropping or another transformation - and currently these changes are not visible because the browser has the old version of the image cached.

      After minimal investigation I think the header is:
      Cache-Control: no-cache

      The plan is then as a next step to always append a date (or date derived key) as a querystring to images of its modification date, so that versions of the image can be cached by browser and proxies.

        Acceptance criteria

              czimmermann Christopher Zimmermann
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR