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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR